Operating System - OpenVMS
cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with ssh public key authentication

SOLVED
Go to solution
CJBe
Advisor

Problem with ssh public key authentication

Hello!

I'm trying to connect between two openVMS System via ssh public key authentication. When I try to connect from an openVMS System, I got the message:

warning: ssh2/ id_dsa_2048_a.: 4: parsing line failed
warning: ssh2/ id_dsa_2048_a.: 5: parsing line failed
warning: ssh2/ id_dsa_2048_a.: 6: parsing line failed
...

When I try to connect from a windows based PC it works fine.

I used openVMS to generate the keys and the command I use to connect is:

ssh user@system -i ID_DSA_2048_A.

Does anybody know about this, or what I'm doing wrong???

Thanks a lot.
5 REPLIES
marsh_1
Honored Contributor

Re: Problem with ssh public key authentication

hi,

how did you transfer your public key ? looks like the formats got a bit skewed.

fwiw

CJBe
Advisor

Re: Problem with ssh public key authentication

On the openVMS System where I generated the keys I got the error, on the windows system where I copied the keys via FTP is everything okay.

I tried to connect to the machine where I started to keep the thing simple. So I connected to user@127.0.0.1 - but I got the warnings.

After the warnings I got the prompt to login as the user setup in the ssh command.
Thomas Ritter
Respected Contributor
Solution

Re: Problem with ssh public key authentication

On the server side in the [.ssh2] subdirectory you will need an authorization. file and the public key and on the client side in [.ssh2] you will need an identication. file and the private key.

Then

usr@system
CJBe
Advisor

Re: Problem with ssh public key authentication

okay, thats strange... but it works!

I got the identification. file allready, but I always used the -i qualifier to set up the keyfile in the ssh command so known from unix etc.

Then thank you very much!

CJBe
Advisor

Re: Problem with ssh public key authentication

Thank you very much...