Unix Technical Forum

(open)ssh hanging, sometimes

This is a discussion on (open)ssh hanging, sometimes within the AIX Operating System forums, part of the Unix Operating Systems category; --> Hello, I am running AIX 4.3 maint 11 and using openssh [freeware.openssh.rte 3.7.1.0 COMMITTED OpenSSH 3.7p1] as built by ...


Go Back   Unix Technical Forum > Unix Operating Systems > AIX Operating System

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-05-2008, 02:48 AM
Igor
 
Posts: n/a
Default (open)ssh hanging, sometimes

Hello,
I am running AIX 4.3 maint 11 and using openssh [freeware.openssh.rte
3.7.1.0 COMMITTED OpenSSH 3.7p1] as built by Bull.

Within script PROC script A is launched as step 7 of 10 on machine A.
Script A launches via ssh script B on machine B.
Step 8 of script PROC waits on script A to return, but unfortunately does
not always return. When operator sees that A hangs, he starts an ssh
connection from machine A to machine B, executes "date" and logs out. At
the moment of ssh connections establishment script A continues, returns
and script PROC continues with next step.

Anyone has an idea of why openssh hangs and why making a new connection
between the machines script continues?
May I add that I have killed/started opensshd but the same night behaviour
repeated.

Any suggestions or hints?
Thank you very much and have a nice day,
Igor

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 01-05-2008, 02:56 AM
Darren Tucker
 
Posts: n/a
Default Re: (open)ssh hanging, sometimes

In article <pan.2004.07.19.08.21.00.245177@merkudelete.org> ,
Igor <igor.news@merkudelete.org> wrote:
>I am running AIX 4.3 maint 11 and using openssh [freeware.openssh.rte
>3.7.1.0 COMMITTED OpenSSH 3.7p1] as built by Bull.

[...]
>Anyone has an idea of why openssh hangs and why making a new connection
>between the machines script continues?
>May I add that I have killed/started opensshd but the same night behaviour
>repeated.


There's a few possible causes listed at:
http://www.openssh.com/faq.html#3.3

I would guess it's either reverse DNS or ssh-rand-helper hanging.

--
Darren Tucker (dtucker at zip.com.au)
GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4 37C9 C982 80C7 8FF4 FA69
Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 01-05-2008, 02:57 AM
mark taylor
 
Posts: n/a
Default Re: (open)ssh hanging, sometimes

how long does it hang for ? 75 seconds ? if so, then reverse name look
up .. do the following comamnd work.

host ipaddress
host hostname
nslookup ipaddress
nslookup hostname

whats in your /etc/resolv.conf, can you ping your DNS servers ? whats
in you /etc/netsvc.conf ? hosts=local,bind4 ? thats what it should be
( unless your using ipv6 that is )

Does it hang indefinatley ? can you telnet in ? ftp in ? etc...

Rgds
Mark Taylor
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 05:44 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com