another ssh question

Michael Kale michaelk at cs.washington.edu
Sun Feb 6 13:09:38 PST 2000


One more ssh question: (this is about three steps below the level of the
previous ssh discussions)

How do I use ssh-agent?  Word on the street is that I can run
ssh-keygen locally, then copy my local .ssh/identity.pub to the remote
..ssh/authorized_keys, then run ssh-add on the local machine once, then in
my .xsession when I'm exec'ing my .xinitrc file if I change it to:

	exec ssh-agent ~/.xinitrc

then anyimte after startx'ing I can type:

	ssh <remote ip>

and it will authenticate me without needing to type either a password or
the passphrase.

problem is that it always seems to ask me for a passphrase (which works,
btw)  I've gotten it to not ask for a passphrase by running ssh-add 
locally with each new xterm I launch, but I've heard that that's
not necessary.

(reason is that I'm trying to set up a remote cvs repository, and rsh
seems to be not so secure in general)

it's not really that much of a pain to have to run ssh-add each time, but
I was just wondering if I need to do it.

Thanks for your help,

Michael



More information about the Linux mailing list