Bug 913

Summary: hanging ssh on solaris 8 - when script is invoked from solaris 9
Product: Portable OpenSSH Reporter: S.Miler <smi987>
Component: sshdAssignee: OpenSSH Bugzilla mailing list <openssh-bugs>
Status: CLOSED WORKSFORME    
Severity: major    
Priority: P2    
Version: 3.7.1p2   
Hardware: SPARC   
OS: Solaris   

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.