Ubuntu QA:
BlogBrainstormPackage status
Log in
Ubuntu QA
The Ubuntu community has contributed 22823 ideas, 138726 comments, 2639112 votes
Idea sandbox Idea sandbox
Popular ideas Popular ideas
Ideas in development Ideas in development
Implemented ideas Implemented ideas
Idea #30107: Automatically start screen on ssh login

Written by anton the 3 Sep 12 at 23:29. Category: Server. Related project: Nothing/Others. Status: New
Rationale
Screen is essential when using ssh from a place with unstable internet connection or running long jobs on a server. It might be a good idea to automatically start screen on an Ubuntu server when logged in with ssh.
Tags: (none)

-5
votes
up equal down
Solution #1: Modify .bash_profile or .bashrc
Written by anton the 3 Sep 12 at 23:29.
The solution was proposed in http://taint.org/wk/RemoteLoginAutoScreen

Propose your solution

Attachments
No attachments.


Duplicates


Comments
Darwin Survivor (Brainstorm moderator) wrote on the 4 Sep 12 at 05:51
Byobu (Ubuntu's curses wrapper around screen) has this option right in the menu. If it isn't working, please file a bug report.

Ssdg wrote on the 7 Sep 12 at 17:52
-1 but for a reason.

you might want to use screen on bash everytime (I do), and using a stable internet connection (I do 50% of the time since I use SSH from home to connect my home server) and in this case, it's plain annoyance (the do you want a nested session)

But when I do so from someplace else, I just love when screen starts and gets me a nice remote environnement.

So the automation is not a good idea, the current option seems a good compromise even if I'm not 100% satisfied.

Maybe having a screen like feature with only persistance capabilities (even if it messes up remote X proxy (the -X -Y options)


Post your comment