== client == ssh-keygen -b 4096 -t rsa scp ~/.ssh/id_rsa.pub @:~/.pub == server (be sure to use the right user account) == cat ~/.pub >> ~/.ssh/authorized_keys == login from client == ssh -i ~/.ssh/id_rsa @ == changes in sshd_config == ChallengeResponseAuthentication no PasswordAuthentication no UsePAM no RSAAuthentication yes PubkeyAuthentication yes