1831676 Members
2463 Online
110029 Solutions
New Discussion

ssh connection hangups

 
Ionut Grigorescu_2
Super Advisor

ssh connection hangups

I'm doing administration on an HP-UX 11.00 box from a Debian Linux box over ssh connection (ssh2). I have no problem with the login, after inserting my Linux box name in the /etc/hosts on the HPUX server the login was becomming fast, but during the connection after few commands it hangs, then after 1..2 minutes is going on again, then again hangs (i.e. I don't have any echo more on the display) Over telnet I don't have these problems. Any idea?
If it weren't for STRESS I'd have no energy at all
6 REPLIES 6
Muthukumar_5
Honored Contributor

Re: ssh connection hangups

check the resource usage of cpu, memory in your machine. Is everything ok first.

Is there any error messages or warnings in /var/adm/syslog/syslog.log or dmesg.

Which version of ssh installed in hp-ux machine? Is patch update done?

--
Muthu
Easy to suggest when don't know about the problem!
Arunvijai_4
Honored Contributor

Re: ssh connection hangups

Hello

Which version of Secure shell you are running ? Have you installed Pseudo random number generator ?
"A ship in the harbor is safe, but that is not what ships are built for"
Ionut Grigorescu_2
Super Advisor

Re: ssh connection hangups

HP-UX: ssh2 3.1.0
Linux: OpenSSH-4.2p1 Debian-5, OpenSSL 0.9.8a
I don't have a Pseudo Number Generator
If it weren't for STRESS I'd have no energy at all
Arunvijai_4
Honored Contributor

Re: ssh connection hangups

Hello,

HP-UX: ssh2 3.1.0 is prety old. You can download and install latest version,

http://h20293.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=T1471AA

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
Steve Post
Trusted Contributor

Re: ssh connection hangups

perhaps it has nothing to do with ssh? Maybe there something set up between your linux box and hpux that is cutting off your connection. I have an ssh connection that drops me off after 2 hours no matter what.
Ionut Grigorescu_2
Super Advisor

Re: ssh connection hangups

Hi,

it seems that it has nothing to od with ssh - I've experienced today the same problems with telnet. Between my linux box and HPUX there is a firewall, but the non-activity timeout is set to 10 minutes. On the HP-UX the lan0 (which I use for administration) is set to 100FD and there are no errors in the lanadmin display (i.e. it's not about a duplex mismatch). I have seen the same problem trying a connection from other machines Windows/SUSE Linux from 2 different LAN segments. Could be that related to the firewall? - The connection is not cutted off it only hangs for 30 seconds...2 minutes , than is going on again.
If it weren't for STRESS I'd have no energy at all