-i doesn't work for v2 DSA keys

Markus Friedl markus.friedl at informatik.uni-erlangen.de
Thu Sep 28 08:59:53 EST 2000


On Wed, Sep 27, 2000 at 04:40:31PM -0400, Will Day wrote:
> I just found that trying to specify a DSA identity file with '-i' doesn't
> work.  Although the man page doesn't indicate that this is supported for
> DSA keys, it also doesn't indicate very clearly that its _not_.
> 
> Indeed, in ssh.c:main(), the "-i" only increments and sets:
>    options.options.num_identity_files
>    options.identity_files
> where it would need to modify:
>    options.options.num_identity_files2
>    options.identity_files2
> for DSA keys.
> 
> I don't know whether "-i" is supposed to support only RSA keys, but it
> should probably support passing DSA key file names in some fashion (either
> with "-i", or a different argument letter).
> 
> I'd submit a patch, but I don't know which way the developers would want to
> go.

i'd like to use -i ssh2key, if there is a simple way.





More information about the openssh-unix-dev mailing list