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)
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,
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'
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!