Answers for "add key file to ssh"

0

Add your SSH private key to the ssh-agent. If you created your key with a different name, or if you are adding an existing key that has a different name, replace id_rsa in the command with the name of your private key file.

$ cat ~/.ssh/id_rsa.pub
Posted by: Guest on November-03-2020
0

add key file to ssh

sudo chmod 400 [key file]
sudo ssh -i [key file] [username]@[ip]
Posted by: Guest on December-23-2020

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language