[darcs-users] Help with ssh-agent

Wolfgang Jeltsch wolfgang at jeltsch.net
Tue Jan 31 12:24:07 UTC 2006


Am Dienstag, 31. Januar 2006 01:36 schrieb Olivier Thauvin:
> [...]

> 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.

Public key authentication is also more secure than password authentication, at 
least if you disable password authentication on the server (as I do).

Best wishes,
Wolfgang




More information about the darcs-users mailing list