Date: Thu, 31 Mar 2011 13:32:17 -0600 From: Chad Perrin <perrin@apotheon.com> To: freebsd-questions@freebsd.org Subject: Re: SSH persistent sessions without screen? Message-ID: <20110331193217.GA81374@guilt.hydra> In-Reply-To: <4D94A502.2060002@telting.org> References: <4D94A502.2060002@telting.org>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --] On Thu, Mar 31, 2011 at 09:00:02AM -0700, Chris Telting wrote: > I would like to have something like virtual terminals that continue > running no matter if ssh is connected to them or not. Something like > the screen utility. But I don't want to use screen, I'm looking for > something more automated. Maybe even be able to have multiple > connections on different computers. > > I have a number of computers and I like to use each for batch processing > different stuff, especially compiling. I'm mostly interested in > connecting to running sessions from a mobile android phone. I don't > want to keep having to manually login every time through screen and it > should be tolerant of a dropped connection. > > I'm thinking there is probably a way to do this with just ssh. Maybe > have separate sshd daemons running on specific ports. Any ideas? I'm not 100% clear on what you're trying to avoid from GNU Screen, but my first thought when you said you wanted persistent sessions without GNU Screen was "tmux". Count mine as a third vote for tmux, if that suits your needs. Depending on your actual needs, you could also look into using the nohup command. It's not a terminal multiplexer but, in the words of the manpage, it allows you to "run a command immune to hangups, with output to a non-tty". -- Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (FreeBSD) iEYEARECAAYFAk2U1sEACgkQ9mn/Pj01uKXZpgCeLQ2mLm5OxZcKfNC+FQBb/3b0 JNkAn11voDBGs9DWjbtCwRT6EEk4bvmR =0Boz -----END PGP SIGNATURE-----help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110331193217.GA81374>
