25 users online | 25 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.

Most popular FAQs RSS

  1. How to remove my info from icontact, constantcontact.com ? ... (9441 views)
  2. How to backup My Documents on Windows 7 using ... (5078 views)
  3. Default Elastix default passwords (4578 views)
  4. How can I disable firewall for raspbmc (2464 views)
  5. How to SSH without password (2057 views)
  6. QueueMetrics installation Elastix (1881 views)
  7. Why Ads on this site (1717 views)
  8. Office Communicator for Linux (1657 views)
  9. Sangoma card misconfigured wancfg_dahdi (1651 views)
  10. Raspberry Pi SD card configuration (1454 views)

Latest FAQs RSS

  1. Copy Mapinfo settings from XP to a Windows 7 ... (2016-12-19 03:06)
  2. How to get logs from linux (2016-12-13 21:11)
  3. How to remove my info from icontact, constantcontact.com ? ... (2016-08-18 05:30)
  4. How to SSH without password (2016-07-12 21:57)
  5. Sangoma card misconfigured wancfg_dahdi (2016-06-11 07:46)

Sticky FAQs