71 users online | 71 Guests and 0 Registered

How to SSH without password


 

 

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
2017-10-15 04:03 Eric P {writeRevision}
Average rating: 0 (0 Votes)

You cannot comment on this entry

Chuck Norris has counted to infinity. Twice.

Records in this category

Tags

Sticky FAQs