SSH-settings 9.2.1

Having difficulties when installing the system? Your system runs slowly and requires some tweaking? You can get help here.
Post Reply

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

SSH-settings 9.2.1

Post by niklas » Tue Sep 19, 2023 2:52 am

Hi,

Getting this problem when trying to connect from an old 8.4 installation to a new 9.2.1 server.

Code: Select all

warning: Authentication failed.
Disconnected; key exchange or algorithm negotiation failed (Algorithm negotiation failed.).
Log from 9.2.1 server

Code: Select all

Unable to negotiate with 192.168.91.85 port 0: no matching cipher found. Their offer: aes128-cbc,3des-cbc,twofish128-cbc,cast128-cbc,twofish-cbc,blowfish-cbc,aes192-cbc,aes256-cbc,twofish192-cbc,twofish256-cbc,arcfour
Tried several configs in SSHD_CONFIG. but with no luck, just results in ssh crashing when it receives a connection.
Anyone has any suggestions on how to get SSH on 9.2.1 to accept old & unsecure encryptions/algorithms ?
Last edited by niklas on Tue Sep 19, 2023 2:53 am, edited 1 time in total.

User avatar

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

Re: SSH-settings 9.2.1

Post by dmjb » Wed Sep 20, 2023 4:12 pm

What modifications did you make to your SSHD_CONFIG file?

User avatar

martinv
Master
Posts: 104
Joined: Fri Jun 14, 2019 11:05 pm
Reputation: 0
Location: Goslar, Germany
Status: Offline
Contact:

Re: SSH-settings 9.2.1

Post by martinv » Thu Sep 21, 2023 2:52 am

Just did a quick test from

Code: Select all

$ tcpip show version

  HP TCP/IP Services for OpenVMS Alpha Version V5.7
  on an AlphaServer 400 4/166 running OpenVMS V8.4

$ ssh x86vms
   warning: Authentication failed.
Disconnected; key exchange or algorithm negotiation failed (Algorithm negotiation failed.).
Updated TCPIP Services 5.7 to ECO5 and:

Code: Select all

$ tcpip show version

  HP TCP/IP Services for OpenVMS Alpha Version V5.7 - ECO 5
  on an AlphaServer 400 4/166 running OpenVMS V8.4

$ ssh x86vms

 Welcome to OpenVMS (TM) x86_64 Operating System, Version V9.2-1
system's password:

Authentication successful.
For completeness: After the update to ECO5 it has

Code: Select all

$ ssh -h
...
Supported ciphers:

  3des-cbc,aes256-cbc,aes192-cbc,aes128-cbc,aes256-ctr,aes192-ctr,aes128-ctr,
blowfish-cbc,twofish-cbc,twofish256-cbc,twofish192-cbc,twofish128-cbc,
des-cbc@ssh.com,cast128-cbc,rc2-cbc@ssh.com,arcfour,none

Supported MAC algorithms:

  hmac-md5,hmac-md5-96,hmac-sha1,hmac-sha1-96,hmac-sha256@ssh.com,
hmac-sha256-96@ssh.com,hmac-ripemd160@ssh.com,hmac-ripemd160-96@ssh.com,
hmac-tiger128@ssh.com,hmac-tiger128-96@ssh.com,hmac-tiger160@ssh.com,
hmac-tiger160-96@ssh.com,hmac-tiger192@ssh.com,hmac-tiger192-96@ssh.com,none
There is something wrong with everything that is popular.
(Charles Fort)


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

Re: SSH-settings 9.2.1

Post by niklas » Thu Sep 21, 2023 3:16 am

Can see that we are running ECO4 on the IA64 server, so updating it to ECO5 probably solves the problem then.
Can´t really update it now since its our build/dev server, so guessing telnet/ftp have to do for now.
Thanks for all the help!
//Niklas

Post Reply