Re: passwordless ssh

From: Jon Reynolds <jonr@destar.net>
Date: Wed Nov 28 2007 - 00:36:47 AKST

Peter Michael wrote:
> 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

Thanks Pete,

But I don't think I need to use ssh-agent when using kerberos.
Everything I have read about it so far has never mentioned using ssh-agent.

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

This archive was generated by hypermail 2.1.8 : Wed Nov 28 2007 - 00:37:33 AKST