Derek Price
2005-Sep-06 20:36 UTC
ssh launched from xterm still running after xterm killed on Cygwin
When I launch ssh sessions from xterms and exit them via the command line, the processes go away, but if I just kill the xterm window an ssh was launched from via a mouse click, the ssh.exe hangs around taking up system resources until I kill it via the task manager, if I can figure out which ssh.exes are the zombies. The same problem *does not* occur from a simple bash shell window (launched via C:\cygwin\bin\bash --login -i). Closing this bash shell does properly kill the ssh session, so I expect this problem will end up having something to do with xterm. This is with the latest Cygwin (upgraded a few minutes ago via the kernel.org mirror) on Windows NT SP2 with all the latest updates. Output of `cygcheck -s -v -r > cygcheck.out' attached. (Incidentally, my ssh-agents also keep running, though I *like* that - it means that the following script doesn't care if I exit the original bash-shell: export SSH_AUTH_SOCK=$HOME/.ssh-agent/`hostname`-ssh-auth-sock if test -d "$HOME/.ssh-agent"; then :; else mkdir "$HOME/.ssh-agent" fi if ssh-add -l >/dev/null 2>&1; then :; else rm "$SSH_AUTH_SOCK" fi if test -S "$SSH_AUTH_SOCK"; then :; else ssh-agent -a "$SSH_AUTH_SOCK" ssh-add fi But I suppose there will be some way to get that behavior back via nohup or whatever if this gets fixed.) Please CC me with any response since I am not a member of these lists. Regards, Derek -- Derek R. Price CVS Solutions Architect Ximbiot <http://ximbiot.com> v: +1 717.579.6168 f: +1 717.234.3125 <mailto:derek at ximbiot.com> -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: cygcheck.out Url: http://lists.mindrot.org/pipermail/openssh-unix-dev/attachments/20050906/8177c406/attachment.ksh
Reasonably Related Threads
- xterm clones on VNC problem
- unicorn doesn't restart properly after cap deploy (not using Bundler)
- Help: Problems about console color (FC5, XTerm)
- Upgraded to latest cygwin this morning, and ssh refuses to enter binmode. Help! (fwd)
- cygwin rsync ssh hang. Solved?