DragonFly BSD
DragonFly users List (threaded) for 2005-04
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: dsa vers rsa ssh key


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxx>
Date: Sun, 3 Apr 2005 11:42:16 -0700 (PDT)

:
: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@xxxxxxxxxxxxx>



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]