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: <nega@xxxxxxxxxxxxxx>
Date: Mon, 4 Apr 2005 00:28:22 -0400

Terry Tree writes:
 > On Apr 3, 2005 6:42 PM, Matthew Dillon <dillon@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.

See this thread
for DSA vs. RSA differences. 

A user can have multiple keys of any type. But, you can have only one
key per key-file. Use the '-f' option of ssh-keygen to direct the
output to a filename of your choice. I would also recomend that you
use different passphrases for each key, if you're using multiple keys.

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