ssh-keygen -t rsa; accept default options and hit return when prompted for passphrase.
~/.ssh/id_rsa.pub) to remote system:
scp ~/.ssh/id_rsa.pub remotesys:~/If this is the first connection to the remote system, type
yesto accept the remote system key.
Login to remote system, configure remote system to trust public key:
cat ~/id_rsa.pub >> ~/.ssh/authorized_keys
chmod 700 ~/.ssh
chmod 640 ~/.ssh/authorized_keys
~/id_rsa.pubcan be removed from the remote system.
Last edited by Mick Timony, 2016-09-14 20:10:24