bts tag 611739 + confirmed upstream
kthxbye
Hi Joey,
Joey Hess wrote in February:
> This is autossh running w/o a controlling terminal:
>
> 10145 ? S 0:00 /usr/lib/autossh/autossh kitenet.net
> 10157 ? S 0:00 \_ /usr/bin/ssh -L 37114:127.0.0.1:37114 -R
> 37114:127.0.0.1:37115 kitenet.net
>
> It will continue running indefinitly.
>
> All I had to do to make this happen was start autossh and then
> immediatly close its terminal, before its ssh connection finished
> (or possibly, before it started ssh?) Once ssh is connected, closing the
> terminal properly kills both it and autossh.
I can reproduce and therefore confirm that.
> I more often see this when autossh has been running for a while, and the
> ssh connection has dropped, often because I suspended my laptop, and I
> close the terminal then, before it notices and reconnects.
Yep, that's when I occassionally run into this issue, too, during
daily use. But it never caused harm and I just noticed it
accidentially once or twice, when looking at the process list for
other reasons.
Joey Hess wrote in March:
> This bug is still present in unstable.
... also in the new upstream version I uploaded yesterday. Not sure if
upstream is aware of this. Will check.
I looked through the code and haven't found any obvious point causing
this. Fiddling around with the rate of connection checking etc. didn't
help either.
> Today I encountered a very fun variant of it. The ssh started by autossh
> needed a password to connect. What does ssh do in X when it has no
> terminal and needs a password? Prompts with a modal dialog. So I had
> this modal dialog, demanding a password, for a ssh whose window I
> had closed. And when I hit Cancel, autossh just started a new ssh, so
> the modal window came back after less than a second. This made
> it impossible to use the computer..
Ok, this is annoying. I though never ran into this variant myself.
> I've stopped using autossh, for now.
Sad, but understandable.
Regards, Axel
--
,''`. | Axel Beckert <[email protected]>, http://people.debian.org/~abe/
: :' : | Debian Developer, ftp.ch.debian.org Admin
`. `' | 1024D: F067 EA27 26B9 C3FC 1486 202E C09E 1D89 9593 0EDE
`- | 4096R: 2517 B724 C5F6 CA99 5329 6E61 2FF9 CD59 6126 16B5
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]