screen-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: SSH timeout causes screen hang


From: Andy Goth
Subject: Re: SSH timeout causes screen hang
Date: Fri, 22 Apr 2005 11:46:16 -0400
User-agent: Mutt/1.2.5.1i

On Fri, Apr 22, 2005 at 03:28:10PM +0100, Patrick Thomson wrote:
> As a dialup user, this issue has been bothering me for a while. 

I'm on dialup, too, plus I have a very shoddy connection.  So perhaps my
"crash/uncrash" problem earlier this week is related.

> To remedy this, I kill -9 all but the most recent instance of ssh and
> everything unclogs
>
> $user=`whoami`
> a=`pgrep -u $user sshd|wc -l`
> let a=a-1
> pgrep -u $user sshd|head -n $a|xargs --no-run-if-empty kill -9

I'll have to give that a try.  Next chance I get (which may be months or
years from now) I'll see if this script fixes the problem, and I'll
report.  Or maybe I can just flip the modem power switch and force the
issue.

-- 
Andy Goth  +  address@hidden  +  http://ioioio.net/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]