I manage a system which has two SME servers (one gateway, currently running SME 8, one internal file server recently updated to SME 9). This network also has what is effectively a NAS device running Slackware. A week or so ago, the NAS box had a hard drive fail. I've fixed the problem, but in doing so, I've updated to the most recent version of Salckware. And I've now got a problem....
I had public keys set up between the SME servers and the NAS machine. I migrated the keys to the new Slackware install. However, attempting to login from the SME gateway machine (SME 8 ) resulted in this error:
[root@huntmaster ~]# ssh -v root@filestore.geminiprototyping.co.uk
OpenSSH_4.3p2, OpenSSL 0.9.8e-fips-rhel5 01 Jul 2008
debug1: Reading configuration data /root/.ssh/config
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Applying options for *
debug1: Connecting to filestore.geminiprototyping.co.uk [192.168.0.221] port 22.
debug1: Connection established.
debug1: permanently_set_uid: 0/0
debug1: identity file /root/.ssh/id_rsa type 1
debug1: identity file /root/.ssh/id_dsa type -1
debug1: loaded 2 keys
debug1: Remote protocol version 2.0, remote software version OpenSSH_6.7.1
debug1: match: OpenSSH_6.7.1 pat OpenSSH*
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_4.3
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
no matching cipher found: client arcfour256,blowfish-cbc,aes256-cbc,aes192-cbc,aes128-cbc,3des-cbc,cast128-cbc,arcfour server aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm@openssh.com,aes256-gcm@openssh.com,chacha20-poly1305@openssh.com
Further checking shows I have exactly the same problem logging in from the SME 9 server, so, even though I will be upgrading the gateway server to SME 9 in the near future, that isn't going to help.
So far as a I can determine, the version of OpenSSH/OpenSSL installed in Slackware no longer supprts the *-cbc ciphers. By attempting to activate them in /etc/ssh/sshd_config on the NAS box, I've got it to fail back to using passwords, so at least I can access the machine from either of the SME servers. Not a very attractive answer, especially since I need script access to the NAS machine, which is not practical with password prompts.
After checking, I've found SME 8 has OpenSSH_4.3p2, OpenSSL 0.9.8e-fips-rhel5 01 Jul 2008, SME 9 has OpenSSH_6.7.1p1, OpenSSL 1.0.1j 15 Oct 2014, and the Slackware NAS has OpenSSH_6.7.1p1, OpenSSL 1.0.1j 15 Oct 2014.
I really don't want to try downgrading the OpenSSH/OpenSSL versions in Slackware, so I'm wondering if there is any way of adding support for the more recent cipers to the versions installed in SME? Or any other way round my current problem?
Paul.