Operating System - HP-UX
1838682 Members
4893 Online
110128 Solutions
New Discussion

After installing lastest ssh rev Putty fails to connect...

 
Paul F. Bennett
Advisor

After installing lastest ssh rev Putty fails to connect...

I recently installed the latest version of HPs ssh (A.05.00.013) on my 11.23 hpux server and although ssh appeared to work from the command line connecting using Putty failed with the error "Server Unexpectively Closed Network connection". I was able to get it to connect via Putty but had to change the "Encryption Cipher Selection Policy", (under SSH) to either Blowfish or 3DES as the first selection, instead of the default 'ASE (SSH-2 only)'. I need to install ssh on production systems next week. Can anyone help me understand why the need for the change to Putty?
5 REPLIES 5
Steven E. Protter
Exalted Contributor

Re: After installing lastest ssh rev Putty fails to connect...

Shalom,

This is a putty problem as far as I can tell. The latest version is broken with this OS and openssh version.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Paul F. Bennett
Advisor

Re: After installing lastest ssh rev Putty fails to connect...

So you have seen this problem before?
Phil Sleigh
New Member

Re: After installing lastest ssh rev Putty fails to connect...

I've also had this problem connecting with PuTTY using the default AES encryption to this latest version of HP's SSH.

With help from Simn Tatham, who wrote PuTTY, I have run some debugging which shows that the SSH process on the HP server crashes with a coredump.

This suggests that this version of the HP-UX SSH has introduced a problem receiving connections from PuTTY using its default AES encryption.

I have arranged for this to be logged with HP, and will update with anything useful here.

Phil
Paul F. Bennett
Advisor

Re: After installing lastest ssh rev Putty fails to connect...

The work around is to add these 2 lines to the sshd_config file and restart /sbin/init.d/secsh

Ciphers aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour128,arcfour256,arcfour,aes192-cbc,aes256-cbc,aes128-ctr,aes192-ctr

MACs hmac-md5,hmac-ripemd160,hmac-sha1-96,hmac-md5-96
Phil Sleigh
New Member

Re: After installing lastest ssh rev Putty fails to connect...

HP have now released a new version of SSH that resolves this problem.