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

Re: Reconnect to a specific TTY session?



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Henrique de Moraes Holschuh wrote:
> On Fri, 23 Mar 2007, Jim Hyslop wrote:
> 
>>course, drops the TCP/IP connection to the Debian box. Is there any way
>>to re-establish the connection to the session I was running? If I try
>>ssh again, I get a new TTY session.
> 
> 
> I don't know if you can reconnect to the old tty (if ssh noticed the
> connection went away it should SIGTERM its children, anyway...)
That's a good point - does this mean my sshd is mis-configured?

> but you
> might want to look at the "screen" program (see package "screen") for the
> next time you need terminals you want to reattach to.
Thanks for the suggestion. It didn't work, unfortunately. 'screen -r
pts-0.sirius' returns the error "There is no screen to be resumed
matching pts-0.sirius."

- --
Jim Hyslop
Dreampossible: Better software. Simply.     http://www.dreampossible.ca
                 Consulting * Mentoring * Training in
    C/C++ * OOD * SW Development & Practices * Version Management
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFGBcdYLdDyDwyJw+MRAoSPAKCrs+vDKDu2MpFyMsHKB+ENcHgMhwCg0a0X
e+6OSaUYaiIO5V45Yf3zpQo=
=2pv6
-----END PGP SIGNATURE-----



Reply to: