One ssh hangs on exit, the other doesn't

Steffen Nurpmeso steffen at sdaoden.eu
Thu Dec 5 12:15:52 PST 2019


Pierre Abbat wrote in <12216388.yjY6BSWRI4 at mooncat>:
 |On Thursday, 5 December 2019 03.48.18 EST Harald Brinkhof wrote:
 |> Maybe some background processes keep running and prevent the X program \
 |> from
 |> sitting down?
 |> 
 |> http://www.snailbook.com/faq/background-jobs.auto.html
 |
 |The examples at the top of that page don't make sense. If I start an \
 |xterm in 
 |an ssh session, and log out of the ssh session with the xterm still \
 |running, I 
 |expect ssh to keep running until I close the xterm. When I ssh into \
 |leopard, 
 |my local mail server, and forward the mail ports, the ssh session hangs on 
 |exit, because kmail still has the mail ports open.
 |
 |When I shelled into zyxomma, I exited each program before logging out \
 |of ssh. 
 |I don't understand why one ssh session closed and the other hung.

Does it still hang when ControlMaster exits?
I have seen this on Linux->Linux (same host even) with
X forwarding in muxer sessions, but it went away as rolling
updates flew by.  (At the moment i have 

  Load key "/home/steffen/....local_ed25519.pub": invalid format

that that makes no sense :})

 |Pierre
 |-- 
 |loi mintu se ckaji danlu cu jmaji
 --End of <12216388.yjY6BSWRI4 at mooncat>

--steffen
|
|Der Kragenbaer,                The moon bear,
|der holt sich munter           he cheerfully and one by one
|einen nach dem anderen runter  wa.ks himself off
|(By Robert Gernhardt)



More information about the Users mailing list