what happens when connection is lost ?

Vince Hoffman vince.hoffman at uk.circle.com
Fri Oct 31 09:01:45 PST 2003


> On Oct 31, 2003, at 11:54 AM, M.D. DeWar wrote:
> > Hello,
> > If I am logged in on a FreeBSD machine with ssh.
> > And doing say a ./configure or make  and I lose connection does that
> > stop
> > what I was doing ?
>
> In general, yes-- what happens is that a broken connection results in a
> hangup (HUP) signal being sent to the process group containing ssh,
> your shell, and whatever commands might have been running.
>
> > data get corrupted etc ?
>
> Generally not.  The point of the HUP signal is to allow processes to
> shut down cleanly.  See "man nohup", "man signal"....
>
Also consider installing screen from packages/ports.
screen will keep running if youy lose your connections allowing you to
reconnect to it when you reconnect.

> --
> -Xhuxk
>
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
"freebsd-questions-unsubscribe at freebsd.org"
>



More information about the freebsd-questions mailing list