Re: passwordless ssh

From: Peter Michael <michael_peter_ra@yahoo.com>
Date: Wed Nov 28 2007 - 00:05:56 AKST

this is how....
You use ssh-agent, first get public-key authentication working without it, so that SSH works but you must enter your key passphrase each time you connect. Then simply type:
  % eval `ssh-agent`
  % ssh-add <private key file> # e.g. ~/.ssh/id_RSA
  % ssh-add -l
 If all goes well, the last command should list the key you've added to the key agent, and your SSH commands in this shell have access to your key without further intervention from you.

One thing that you do not want to do is put or leave the pass phrase somewhere or in a hosts file or home directory because if you do you are (even if you chmod 600 it) just inviting someone to steal it and gain access to the machine....so use the agent, if you do not know what ssh agent is then do a web search for [ssh-agent] and read the instructions on how it works...

Good luck

Pete

Jon Reynolds <jonr@destar.net> wrote: When using kerberos, how do you get ssh working without using passwords?

Jon
---------
To unsubscribe, send email to
with 'unsubscribe' in the message body.

---------
To unsubscribe, send email to <aklug-request@aklug.org>
with 'unsubscribe' in the message body.
Received on Wed Nov 28 00:06:12 2007

This archive was generated by hypermail 2.1.8 : Wed Nov 28 2007 - 00:06:12 AKST