ssh-keygen's appears to be generating 2048bit dsa keys, contrary to the documentation which says dsa keys must be 1024. Can be overridden with -b 1024 to generate a valid key.
I think this is already fixed in 4.3, can you reproduce it with that version? $ ssh -V OpenSSH_4.3p2, OpenSSL 0.9.7f 22 Mar 2005 $ ssh-keygen -t dsa -f tmpkey -N '' Generating public/private dsa key pair. [...] $ openssl dsa -in tmpkey -text -noout |head -2 read DSA key Private-Key: (1024 bit)
I do not have that version installed, I will do so and test on a sandbox in the morning.
Confirmed no issue in latest releases. Thank you, I searched for a bug fix and did not find one.
No problem, closing bug.
Change all RESOLVED bug to CLOSED with the exception of the ones fixed post-4.4.