Ssh password-less

Three steps to passless ssh (without ssh-agent) ...

1

Use ssh-keygen to generate the key pair

 ssh-keygen -t rsa

! do NOT use passphrase, just hit 'enter'

The public key is in .ssh/id_rsa.pub.

2

Copy it to .ssh/authorized_keys on the remote host

 scp ~/.ssh/id_rsa.pub whoami@host:~/.ssh/authorized_keys

3

Just

 ssh host

ssh-agent NOT needed!

DocumentationForm edit

Title How to use ssh without a password
Description This pages shows the three steps to passwordless ssh (without ssh-agent).
Tags ssh agent password
Category User
Topic revision: r4 - 10 Feb 2012, ArthurVarkentin
This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Foswiki? Send feedback