The following steps show how to set up public key authentication with SSH
1. Generate public/private key on your system
ssh-keygen -t rsa
2. Copy your public key to the remote server
scp ~/.ssh/id_rsa.pub xyz.com:~/.ssh/authorized_keys
The following steps show how to set up public key authentication with SSH
1. Generate public/private key on your system
ssh-keygen -t rsa
2. Copy your public key to the remote server
scp ~/.ssh/id_rsa.pub xyz.com:~/.ssh/authorized_keys