[darcs-users] Help with ssh-agent

Olivier Thauvin olivier.thauvin at aerov.jussieu.fr
Tue Jan 31 00:36:50 UTC 2006


Le Mardi 31 Janvier 2006 01:23, Daniel Carrera a écrit :
> Hello,
>
> This is not strictly a Darcs question, but I can't find the answer
> anywhere. I'm using ssh to push my changes to the server, and I hate
> having to type the password over and over. And the darcs manual says
> that you can use ssh-agent to avoid that. Could someone tell me how?
>
> I really can't figure it out. I've been banging my head against the wall
> for days.

quickly: two ways:

- key without passphrase (poor security):

ssh-keygen -t dsa (or rsa), valid...
put the content of ./ssh/id_dsa.pub (or id_rsa.pub) on the remote computer 
into ~/.ssh/authorized_keys.

- with a passphrase:

when you ran ssh-keygen you type a non empty passphrase to protect you key:

# eval `ssh-agent`
# ssh-add
you're done. ssh-agent will remain your key for you unlock.

Notice on all good linux distribution, ssh-agent is started automatically on 
login if a key is found into your ~/.ssh, it is the case on my mandriva 
(mandrake), I know gentoo does, and surelly debian. so at login you just have 
to run ssh-add.

Enjoy.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.osuosl.org/pipermail/darcs-users/attachments/20060131/a4517c94/attachment.pgp 


More information about the darcs-users mailing list