How to SSH without password

Eric P
2017-10-15 04:03

 

 

For passwordless login, hit enter when asked for password then hit enter again for default name.
mkdir .ssh #not needed in most cases
ssh-keygen -t rsa -b 4096
Or just ssh-keygen -t rsa

ssh-copy-id -i .ssh/id_rsa.pub username@otherserver

If on an alternative port other than default 22
  ssh-copy-id -i .ssh/id_rsa.pub "user@other-server.com" -p45343
Tags: different port, non-standard port, Passwordless, passwordless login, SFTP Automation, SSH, SSH, without password
Average rating: 0 (0 Votes)

You cannot comment on this entry