Import ssh key

L2 Linker

Import ssh key

Is there a way to import an ssh key into a firewall?

For instance, I run the following commands:

ssh-keygen -t rsa (The public key is now located in /home/demo/.ssh/ The private key (identification) is now located in /home/demo/.ssh/id_rsa)

ssh-copy-id user@myfirewall

When I run the ssh-copy-id command, I asks me to login and I get this:

Unknown command: ssh-rsa

Now try logging into the machine, with "ssh 'user@myfirewall'", and check in:


to make sure we haven't added extra keys that you weren't expecting.

However, trying to login, it still asks for a password,



L4 Transporter

I may be talking about the wrong feature, but I know we can import keys in the CLI wtih the following command string.


'set mgt-config users admin public-key dwlakjdlwakjdlwakjdlwakjd9821jkhdwalkjhdwkajhdwakjdhwakjdhwadwadwa'

Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!