dsa vers rsa ssh key
Matthew Dillon
dillon at apollo.backplane.com
Sun Apr 3 11:42:44 PDT 2005
:
:I'm looking at trying to use keys for my ssh logins instead of
:passwords but I'm unaware of which key type is the best. What type do
:you guys typically use ?
Both work fairly well but DSA keys are considered to be more
contemporary. ssh-keygen -t dsa.
It's also a good to put a password on critical ssh keys, then use
ssh-agent as part of your X session startup and run ssh-add after you
login to the X session.
so e.g. part of my .xinitrc is an eval `/usr/bin/ssh-agent -c` (it's
a csh script, you can do it as a /bin/sh script too using a slightly
different arrangement). Then I do a single ssh-add in an xterm and
from then on I can use my key without having to enter any further
passwords.
Play with it.
-Matt
Matthew Dillon
<dillon at xxxxxxxxxxxxx>
More information about the Users
mailing list