Add rsa key to server

ARUN Post in SSH
0

ssh-keygen

cat ~/.ssh/id_rsa.pub

cd /root/.ssh

or      cd /homefolder/.ssh/

vi authorized_keys

Insert the ket that you got from cat ~/.ssh/id_rsa.pub to this file and save

« Prev: :Next »

Leave a Reply

You must be logged in to post a comment.