logo       

Re: SSH timeout causes screen hang: msg#00052

gnu.screen.user

Subject: Re: SSH timeout causes screen hang

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 + unununium-UhlpMtmr81Nl57MIdRCFDg@xxxxxxxxxxxxxxxx +
http://ioioio.net/


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise