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.
pgpLXLO1c6SqY.pgp
Description: PGP signature
_______________________________________________ darcs-users mailing list [email protected] http://www.abridgegame.org/mailman/listinfo/darcs-users
