sshkeys
This is an old revision of the document!
Sshkeys
Creating SSH Keys for rsync or ssh etc.
Create keys on local machine
ssh-keygen -t rsa
Copy Public Key (id_dsa.pub) to PC you want to log into
scp ~/.ssh/id_rsa.pub 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 id_rsa.pub >> authorized_keys
Thats it. The pub key can be deleted off the server. Job Done.
Original = http://www.redbrick.dcu.ie/help/tutorials/ssh_keys/
sshkeys.1658570415.txt.gz · Last modified: 2022/07/23 10:00 by admin