| Summary: | ssh hangs on exit (not damon, nor background) | ||
|---|---|---|---|
| Product: | Portable OpenSSH | Reporter: | Joshua Mehlman <joshua.mehlman> |
| Component: | ssh | Assignee: | OpenSSH Bugzilla mailing list <openssh-bugs> |
| Status: | CLOSED DUPLICATE | ||
| Severity: | normal | ||
| Priority: | P2 | ||
| Version: | -current | ||
| Hardware: | SPARC | ||
| OS: | Solaris | ||
*** This bug has been marked as a duplicate of 79 *** Mass change of RESOLVED bugs to CLOSED |
ssh running on Solaris 2.8 ocasionaly hangs on exit. I run the command ssh -v server hostname we have also seen this with different commands and even just getting a shell. (note I have tryed with -t, -n and of course without the -v and a -v -v -v give no more info) and about 1 time out of 1000 it hangs. The verbose output is as follows: debug1: Sending command: hostname debug1: channel 0: open confirm rwindow 0 rmax 16384 debug1: channel 0: rcvd eof debug1: channel 0: output open -> drain server debug1: channel 0: obuf empty debug1: channel 0: output drain -> closed debug1: channel 0: close_write Then comes the hang. Note that this is differnt than the bg file wait issue. an netstat on the client: client# netstat -a | grep server client.34819 server.ssh 17520 0 33580 0 ESTABLISHED client.34820 server.ssh 17520 0 33580 0 TIME_WAIT and one on the server: server# netstat -a | grep client server.full.domain.name.com.ssh client.34819 33580 0 17520 0 ESTABLISHED and some ps : client# ps -ef | grep hostname root 19944 2917 0 12:32:19 ? 0:01 /usr/local/bin/ssh -n -v server hostname server# ps -ef | grep ssh root 3439 10524 0 12:32:21 ? 0:01 /services/ssh/sbin/sshd