I am usually connecting to the remote server with
ssh user@server.com -p 11000
and then giving the password each time for user. How should I avoid entering the password each time I connect using ssh ?
|
I am usually connecting to the remote server with
and then giving the password each time for user. How should I avoid entering the password each time I connect using ssh ? |
||||
|
|
|
I think I should add a bit of a narrative to the link in 9000's answer. First, check in home to see if you have a folder named
Second, ssh to the server, check to see if you have a file named You should now be able to ssh without typing the password. Third, if you put this in
You will be able to |
|||||||||||
|
|
Turn to key-based authentication. |
|||
|
|
As a supplement to phunehehe's answer, see the Gentoo Linux Keychain Guide for a guide to keychain. keychain also uses ssh-agent. The ssh-agent daemon makes the passphrase available (it becomes unavailable when the ssh-agent daemon dies) but keychain |
|||
|
|