dsa vers rsa ssh key

Matthew Dillon dillon at apollo.backplane.com
Sun Apr 3 20:46:48 PDT 2005


:
:On Apr 3, 2005 6:42 PM, Matthew Dillon <dillon at xxxxxxxxxxxxxxxxxxxx> wrote:
:> 
:> :
:> :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.
:> 
:
:Thanks.  Is it also possible to have more than one set of keys per
:user ?  I'm wanting to have a set of keys for my personal machines and
:a set of keys for my work machines.  When I try to place two keys
:inside the id_dsa file I can no longer login to any of the machines
:which I've setup the authorized_keys file on.

    Yes.  Take a look at ssh's -i option.  You can also automate the
    selection by having a user-local configuration file that specifies
    which identity file to use with which host (at least that's my read
    from the manual page, I haven't actually tried to do that).

					-Matt
					Matthew Dillon 
					<dillon at xxxxxxxxxxxxx>





More information about the Users mailing list