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

Re: Pick up a shell session after ssh timeout



On Thu, 8 Jul 2004 14:24:09 +0200, Joost De Cock <joost.decock@astrid.be> wrote:
> On Thursday 08 July 2004 14:00, LeVA hurled the following on the wire:
> > 2004. július 8. 13:54,
> > Joost De Cock <joost.decock@astrid.be>
> >
> > -> debian-user@lists.debian.org:
> > > Hello list,
> > >
> > > I'd like to know if it's possible to pick up a shell session that was
> > > running over a ssh session that timed out.
> [... more of my rambling]
> > This is not possible (thanks God!)
> 
> Fair enough. I didn't think so, I was more curious then in need of a fix :)
> 
> joost

Actually I think it is possible. See the debian-user thread 'detaching
a process from an ssh session ??', one of the replies has message id
<1088116338.24580.22.camel@zen8100a.freedbms.net>. You can disown the
process and reparent it later, I believe.

Also, you can instruct ssh to send keep-alive packets to prevent the
session from timing out in the first place.

-- 
Jon Dowland



Reply to: