Skip to content

Latest commit

 

History

History
23 lines (13 loc) · 456 Bytes

ssh-without-a-password.md

File metadata and controls

23 lines (13 loc) · 456 Bytes

SSH without a password

To avoid entering password on every login to remote server you can add your public ssh key to ~/.ssh/authorized_keys on your server

To do so, first get your public key(usually it's ~/.ssh/id_rsa.pub):

cat ~/.ssh/id_rsa.pub

Now copy it contents and on remote server run:

vi ~/.ssh/authorized_keys

and save the file(:wq)


More info in this article: https://www.debian.org/devel/passwordlessssh