Ethical Hacking

Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package.
Computer Forensics Training at InfoSec Institute

Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors.




Network Security Secure-Shell
[Top] [All Lists]

Re: keys longer than 1024 bits

Subject: Re: keys longer than 1024 bits
Date: Wed, 13 Sep 2006 17:51:32 -0400
On Wed, Sep 13, 2006 at 02:09:38PM +0000, edbch wrote:
Hello to all.
First they pardon my bad English.
I am attempted to generate keys longer than 1024 bits, but I am not 
obtaining. I perceived that in some machines this is possible and in others 
not.
It is some problem because of the operational system and some rule or 
because of the version of ssh? In the machines that I cannot generate these 
keys I use Gentoo Linux and OpenSSH_4.3p2, OpenSSL 0.9.7j. In that I can I 
use OpenBSD and OpenSSH_4.1, OpenSSL 0.9.7d. The command to generate the 
keys that I used is: ssh-keygen - t dsa - b the 2048 and message of error 
that I received is:  DSA keys must be 1024 bits.
Somebody knows to explain me because?  Debtor since now.

Eduardo

The ssh-keygen manpage says:

     -b bits
             Specifies the number of bits in the key to create.  For RSA
             keys, the minimum size is 768 bits and the default is 2048
bits.
             Generally, 2048 bits is considered sufficient.  DSA keys
must be
             exactly 1024 bits as specified by FIPS 186-2.

DSA keys must be exactly 1024 bits, according to the standard.  If you
want larger keys, you'll need to make RSA keys instead of DSA keys.


-Ian

-- 
Ian Becker
ibecker@post.harvard.edu

<Prev in Thread] Current Thread [Next in Thread>