dsa public key file
Markus Friedl
Markus.Friedl at informatik.uni-erlangen.de
Thu Dec 21 22:41:27 EST 2000
On Thu, Dec 21, 2000 at 01:22:39PM +0200, Roumen Petrov wrote:
> U-u-f-f :-)
> I have in /etc/ssh_config
> ...
> Protocol 2,1
> ...
> and expected ssh-keygen -x to use ~/.ssh/id_dsa ( not ~/.ssh/identity ).
ok :)
but man ssh-keygen does not speak about ssh_config.
there is not config file for ssh-keygen.
only ssh and sshd read config files.
> O.K. I tested 'ssh-keygen -d -x' but redirection to file is bad.
> ---
> #ssh-keygen -d -x 1>xx
> <ENTER>
> ---
> and output begin with:
> Enter file in which the key is (<HOME>/.ssh/id_dsa): ---- BEGIN ....
>
> and
> difference is:
> SSH file:
> -Subject: <USER>
> -Comment: "1024-bit dsa, <USER>@<HOST>, <date in RFC-822 format>"
> Generated form OpenSSH SSH file:
> +Comment: "1024-bit DSA, converted from OpenSSH by <USER>@<HOST>"
>
> but I not found problem to connect to SSH host with generated from
> OpenSSH pub.file.
ok, so ssh-keygen works fine for you?
> P.P.
> About ssh-add: I must add explicitly dsa public key file in this
> configuration.
yes. i don't think it should add the file automagically.
otherwise you will be prompted for passphrases twice, and
so on. and there are ssh-agents that do not know about
DSA keys.
-markus
More information about the openssh-unix-dev
mailing list