Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

Re: SSH Hangs on exit

From: Greg Wooledge <wooledg(at)eeg.ccf.org>
Date: Wed Nov 27 2002 - 11:58:56 EST

On Tue, Nov 26, 2002 at 10:37:42AM -0800, Caleb Phillips wrote:
> The thing is, this is not a bug. It is a feature...The solution is: If

This isn't desirable in the general case. When this (*ahem*) feature grabs my attention, it's usually because I ssh'ed to some system, restarted a daemon and then tried to exit. I certainly don't want to kill that daemon!

The best workaround in *that* particular case is to rewrite the /etc/init.d (or /sbin/init.d or whatever) script to use extra layers of padding (e.g., nohup, or redirecting output to /dev/null) to make it safe to run it inside an ssh session.

What I usually do, though, is just kill the ssh client program. You can do that by pressing <Enter><~><.>. Of course, this won't help if the problem the original poster is encountering occurs during a batch job (e.g. unattended nightly backup). Received on Thu Nov 28 11:26:33 2002

This archive was generated by hypermail 2.1.8 : Wed Aug 23 2006 - 14:02:51 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library