Recipe: Password-less auto-login with SSH Generate key ============ $ ssh-keygen -t rsa Generating public/private rsa key pair. Enter file in which to save the key (/home/slynux/.ssh/id_rsa): Created directory '/home/slynux/.ssh'. Enter passphrase (empty for no passphrase): Enter same passphrase again: Your identification has been saved in /home/slynux/.ssh/id_rsa. Your public key has been saved in /home/slynux/.ssh/id_rsa.pub. The key fingerprint is: f7:17:c6:4d:c9:ee:17:00:af:0f:b3:27:a6:9c:0a:05 slynux@slynux-laptop The key's randomart image is: +--[ RSA 2048]----+ | . | | o . .| | E o o.| | . ..oo | | .S .+ +o.| | . . .=....| | . +.o...| | . . + o. .| | ..+ | +-----------------+ Append key ============ $ ssh USER@REMOTE_HOST "cat >> ~/.ssh/authorized_keys" < ~/.ssh/id_rsa.pub Password: