dsa public key file

Roumen Petrov Roumen.Petrov at skalasoft.com
Thu Dec 21 22:22:39 EST 2000


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 ).
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.

P.P.
About ssh-add: I must add explicitly dsa public key file in this 
configuration.


Markus Friedl wrote:

> ssh-keygen -[xXy] does this for you.  see ssh-keygen(1)
> 
> On Thu, Dec 21, 2000 at 12:27:59PM +0200, Roumen Petrov wrote:
> 
>> I have just instated ( yesterday ) OpenSSH 2.3.0p1 on my Slack 7.1.
>> Before this I use SSH 2.3.0 which public key certificate and after
>> new generation of dsa user keys I must copy to SSH server.
>> This is problem. SSH 2.3.0 use different file format for public keys.
>> 
>> I make two awk scripts to convert public key between OpenSSH and SSH.
>> 
>> I am new to this forum ( mailing list ) and don`t known how to post 
>> scripts. I attach to my mail dsaKeyConvertor.tgz






More information about the openssh-unix-dev mailing list