Bug 913 - hanging ssh on solaris 8 - when script is invoked from solaris 9
Summary: hanging ssh on solaris 8 - when script is invoked from solaris 9
Status: CLOSED WORKSFORME
Alias: None
Product: Portable OpenSSH
Classification: Unclassified
Component: sshd (show other bugs)
Version: 3.7.1p2
Hardware: SPARC Solaris
: P2 major
Assignee: OpenSSH Bugzilla mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-08-17 01:46 AEST by S.Miler
Modified: 2006-10-07 11:36 AEST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description S.Miler 2004-08-17 01:46:37 AEST
I am running ssh from Solaris 9(SSH Version Sun_SSH_1.0, protocol versions 
1.5/2.0.)  to Solaris 8 (OpenSSH_3.7.1p2, SSH protocols 1.5/2.0, OpenSSL 0.9.7b 
10 Apr 2003). 
Mahcine9 (Solaris 9) 
Machine8 (Solaris 8) 

On machine9 รข I execute: 

ssh supportc@machine8 "/usr/local/bin/my-script  /input-file"

ssh supportc@machine8 pwd
 

Problem is I never get response of the command pwd, also on machine8 there are 
several ssh processes running. As soon as I kill sshd processes on machine8  - 
I get response from pwd. 

Any ideas - why sshd process does not go away on machine8(solaris8). 
Thanks in advance. 

S.Miler
Comment 1 Darren Tucker 2004-08-29 17:25:31 AEST
I would guess that your script starts something and leaves it running?  If so, I
further suspect that it leaves some file descriptors open.  Try:

ssh supportc@machine8 "(/usr/local/bin/my-script /input-file >/dev/null
</dev/null 2>&1)"

and see also bug #52.
Comment 2 Darren Tucker 2004-12-11 20:12:44 AEDT
3 months no reply == closed bug.
Comment 3 Darren Tucker 2006-10-07 11:36:46 AEST
Change all RESOLVED bug to CLOSED with the exception of the ones fixed post-4.4.