← Back to team overview

ubuntu-phone team mailing list archive

Re: Disconnecting of 'ssh localhost'

 

El día Monday, March 14, 2016 a las 09:40:08AM +0100, Cesar Herrera escribió:

> When I run 'ssh localhost' in the terminal, is disconnected in certain cases:
> - If the phone locks.
> - When I change between apps.
> In those cases the terminal says:
> [1]+ Stopped           ssh localhost
> 
> I don't know if this is a correct behaviour or there is a bug.

Yes; this is the designed behaviour. You can get back the SSH session to
live with the 'fg' command; but then there is a terminal issue/bug which
makes it impossible to do some real work: all commands are echoed twice:

$ ssh localhost
$
now swipe away and come back

stopped ssh localhost
fg
ssh localhost
$ echo foo
echo foo
foo
$

see: https://bugs.launchpad.net/ubuntu-terminal-app/+bug/1476101


	matthias


-- 
Matthias Apitz, ✉ guru@xxxxxxxxxxx, ⌂ http://www.unixarea.de/  ☎ +49-176-38902045
Bundeswehr: Wir.Dienen.Deutschland. - Wir.Machen.Krieg.  (We.Serve.Germany. - We.Make.War.)


Follow ups

References