Page 1 of 1

OpenSSH keys storage

Posted: Thu Apr 27, 2023 8:30 am
by cct
I finally found what I wanted on the Wiki https://wiki.vmssoftware.com/OpenSSH

I couldn't get SSH working with keys. Of course the new OpenSSH uses [.SSH] rather than the older [.SSH2]

Chris

Re: V9 Documentation

Posted: Thu Apr 27, 2023 10:14 am
by spoofy
It doesn't work for me.

Re: V9 Documentation

Posted: Thu Apr 27, 2023 10:59 am
by sms

Code: Select all

   Yow.  I've seen some lame problem descriptions in my time, but ...

> I couldn't get SSH working with keys. [...]

   What you actually did, and what actually happened when you did it,
would be more helpful than a vague description of what you "couldn't"
do.

> [...] Of course the new OpenSSH uses [.SSH] rather than the older
> [.SSH2]

   Ok.  And you did what with which, exactly?


> It doesn't work for me.

   As a problem description, "It" is just a bit too terse to be more
than risible.


   And, if I had an SSH problem, I might not discuss it in a thread
with a title like "V9 Documentation".

Re: V9 Documentation

Posted: Thu Apr 27, 2023 11:10 am
by cct
sms wrote:
Thu Apr 27, 2023 10:59 am

Code: Select all

   Yow.  I've seen some lame problem descriptions in my time, but ...

> I couldn't get SSH working with keys. [...]

   What you actually did, and what actually happened when you did it,
would be more helpful than a vague description of what you "couldn't"
do.

> [...] Of course the new OpenSSH uses [.SSH] rather than the older
> [.SSH2]

   Ok.  And you did what with which, exactly?


> It doesn't work for me.

   As a problem description, "It" is just a bit too terse to be more
than risible.


   And, if I had an SSH problem, I might not discuss it in a thread
with a title like "V9 Documentation".
I was looking for up to date VMS SSH , as well as TCP/IP documentation, rather than asking for help with SSH.

As to resolution of my problem, as above I simply moved keys and the AUTHORIZED_KEYS files from [.SSH2] into [.ssh] in my home directory.

I have used ssh keys on VMS since the 90s so got used to the [.SSH2] directory that I didn't question it.

Chris

Added in 4 minutes 34 seconds:
spoofy wrote:
Thu Apr 27, 2023 10:14 am
It doesn't work for me.
If it SSH keys that don't work, and you are using Putty on Windows, then read the PuTTY help pages as the Wiki link

Chris

Re: V9 Documentation

Posted: Fri Apr 28, 2023 12:58 am
by spoofy
Solved, there was a bug in copying the key from linux to VMS.
cct wrote:
Thu Apr 27, 2023 11:15 am

Added in 4 minutes 34 seconds:
spoofy wrote:
Thu Apr 27, 2023 10:14 am
It doesn't work for me.
If it SSH keys that don't work, and you are using Putty on Windows, then read the PuTTY help pages as the Wiki link

Chris