On Thu, Oct 15, 2009 at 10:53 AM, Derek Smithies <de...@indranet.co.nz> wrote:
> Hi,
>  I think the scenario you are describing is:
>
>  logged into box A.
>  ssh to box B
>
>  do various things.....
>
>  halt (on box B)
>
> ===
>  This just sits there - the ssh does not break and return control
> to you on box A.
>  This is identical behaviour to if you had unplugged the ethernet cable from
> box B.
>
> the ssh client on box A is waiting for packets from B - and will wait for
> "ages". you "can" modify your tcp sockets on box A to have keep alives etc.
> This is a bit excessive.

I generally find that if I do reboot or halt via ssh then if I log out
quickly (ctrl-d is of course the quickest) then it logs out fine.
However if you leave it too long you get the described behaviour, ie
the terminal hung until some timeout ie reached.

But is it really a problem? If I need a new terminal on A then I just
ctrl-shif-t (on the terminal that comes with ubuntu|gnome) and get a
new tab.

So I end up with a lot of tabs? yes, and at times it is confusing, but
X is just a method to havineg more terminals, and at this it succeeds
admirably.

Reply via email to