Import ssh key

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Please sign in to see details of an important advisory in our Customer Advisories area.

Import ssh key

L2 Linker

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/id_rsa.pub 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:

  ~/.ssh/authorized_keys

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

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

Thanks,

Bart

1 REPLY 1

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.

'configure'

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

  • 3303 Views
  • 1 replies
  • 0 Likes
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!