21 users online | 21 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 login, SFTP Automation, SSH, without password
Last update:
2016-07-12 21:57
Author:
Eric P
Revision:
1.17
Average rating: 5 (1 Vote)

You cannot comment on this entry

Chuck Norris has counted to infinity. Twice.

Records in this category

Tags

Sticky FAQs