From Wiki

Jump to: navigation, search

Creating SSH Keys for rsync or ssh etc.

Create keys on local machine

#ssh-keygen -t dsa   Will not work anymore after server upgrades
ssh-keygen -t rsa

Copy Public Key ( to PC you want to log into

scp ~/.ssh/ username@host:

On the PC you want to log into go to the .ssh folder in the home dir and add the key in to the authorised keys file

cat >> authorized_keys

Thats it. The pub key can be deleted off the server. Job Done.
Original =

Personal tools