SSH from RHEL9 to openvms 8.4

Everything about buying, using, and managing OpenVMS systems not covered by other sections.
Post Reply

Topic author
niklas
Contributor
Posts: 11
Joined: Fri Oct 22, 2021 7:31 am
Reputation: 0
Status: Offline

SSH from RHEL9 to openvms 8.4

Post by niklas » Wed Jan 17, 2024 10:10 am

Hi,

Having problems connecting from a Red Hat 9 to openvms 8.4, getting "no matching host key type found. Their offer: ssh-dss".
legacy policy on RH doesn´t solve this.

Is it possible to update from ssh-dss to anything else that modern servers are allowed to connect to?
If possible i would not like to update TCPIP to version 6 at this moment.

What we are running:

HP TCP/IP Services for OpenVMS Industry Standard 64 Version V5.7 - ECO 5 on an HP rx2800 i2 (1.60GHz/5.0MB) running OpenVMS V8.4-2L3

SSH Secure Shell OpenVMS (V5.5) 3.2.0 on HP rx2800 i2 (1.60GHz/5.0MB) - VMS V8.4-2L3

//Niklas


shael_richmond
Member
Posts: 5
Joined: Fri Aug 06, 2021 4:22 pm
Reputation: 0
Status: Offline

Re: SSH from RHEL9 to openvms 8.4

Post by shael_richmond » Wed Jan 17, 2024 10:28 am

I had to do this from a Solaris server and it worked.

ssh -oHostKeyAlgorithms=+ssh-dss user@hostname

If that works you can do the following
In .ssh/confg
Host hostname
HostName xx.xx.xx.xx
HostKeyAlgorithms=+ssh-dss


Shael Richmond


craigberry
Contributor
Posts: 23
Joined: Fri Nov 17, 2023 11:27 am
Reputation: 1
Status: Offline

Re: SSH from RHEL9 to openvms 8.4

Post by craigberry » Wed Jan 17, 2024 5:52 pm

Since you're on v8.4.2-L3, you do have the option of switching to OpenSSH. Test and read the release notes as there are few gotchas, but it does solve this kind of problem. See https://vmssoftware.com/products/openssh/ .

User avatar

dmjb
Valued Contributor
Posts: 53
Joined: Mon Aug 17, 2020 4:38 pm
Reputation: 0
Status: Offline

Re: SSH from RHEL9 to openvms 8.4

Post by dmjb » Wed Jan 17, 2024 7:47 pm

It's worth noting that future versions of OpenSSH will remove the ability to enable ssh-dss outright:

https://lwn.net/Articles/958048/

(Note that ssh-dss uses DSA keys)


sms
Master
Posts: 349
Joined: Fri Aug 21, 2020 5:18 pm
Reputation: 0
Status: Offline

Re: SSH from RHEL9 to openvms 8.4

Post by sms » Wed Jan 17, 2024 8:45 pm

Code: Select all

> Since you're on v8.4.2-L3, you do have the option of switching to
> OpenSSH. [...]

   Sounds to me like a good idea.  Sadly, ...

   The release notes for the latest OpenSSH version (V8.9-1H)

      https://vmssoftware.com/openkits/i64opensource/I64VMS-OPENSSH-V0809-1H-1-RNOTES.PDF

list a requirement:

      o For VSI OpenVMS I64 8.4-2L3, ECO VMS842L3I_RTL-V0600 or later

   At ICOMMUNITY@vsiftp.vmssoftware.com under ECOKITS, all I see is
VMS842L3I_RTL-V0500,  The Service Platform offers VMS842L3I_RTL-V0800,
but apparently not to a "Community" peon like me.


Topic author
niklas
Contributor
Posts: 11
Joined: Fri Oct 22, 2021 7:31 am
Reputation: 0
Status: Offline

Re: SSH from RHEL9 to openvms 8.4

Post by niklas » Thu Jan 18, 2024 3:25 am

adding "PubkeyAcceptedKeyTypes=+ssh-dss" to /home/username/.ssh/config
and using "KexAlgorithms=+diffie-hellman-group1-sha1 -o HostKeyAlgorithms=+ssh-dss" when connecting solved this problem for us, we are now able to connect using ssh/sshfs to openvms.


sms
Master
Posts: 349
Joined: Fri Aug 21, 2020 5:18 pm
Reputation: 0
Status: Offline

Re: SSH from RHEL9 to openvms 8.4

Post by sms » Mon Feb 19, 2024 10:02 am

Code: Select all

> [...] Sadly, ...

   Six months later, the latest OpenSSH version seems to have changed
from V8.9-1H to V8.9-1H01, but the (un)availability of the RTL ECO
hasn't.

   Or am I missing something?

Post Reply