Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Minicom Behavior (persistent terminal) from SSH [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
GBob
Tux's lil' helper
Tux's lil' helper


Joined: 13 Nov 2004
Posts: 110
Location: Portland, Oregon

PostPosted: Thu Apr 14, 2005 1:33 pm    Post subject: Minicom Behavior (persistent terminal) from SSH [SOLVED] Reply with quote

Okay,
If you've used minicom, you'll know what I'm talking about, but even if you haven't here's what I'd like to do:
From Work:
    I open up a ssh connection to my webserver
    I ssh from my webserver to my main box
    On my main box I do some stuff (for example emerge -e world)
    I disconnect from my webserver


An hour later, once again from work:
    I open up a ssh connection to my webserver
    I ssh from my webserver to my main box
    My main box shows me the same pseudo terminal I was using before, so I can see how the merge is going ect.
    I disconnect from my webserver


Later from home, on my main box:
    I open up a ssh connection to the same machine
    My main box shows me the same pseudo terminal I was using before, so I can see how the merge is going ect.
    I can close or leave open that ssh connection


I would also like the ssh pseudo terminal shared so that if I leave it open at home, I can still connect from work without interupting it.

The question is, is this possible? What software do I need? Any help would be appreciated.
_________________
rank[0]-=('n'-'d');
rank[3]-=('b'-'d');

It is better to say nothing and have people think your are an idiot,
Than open your mouth and remove all doubt.


Last edited by GBob on Thu Apr 14, 2005 5:58 pm; edited 1 time in total
Back to top
View user's profile Send private message
Qdot
Tux's lil' helper
Tux's lil' helper


Joined: 06 Jan 2005
Posts: 127

PostPosted: Thu Apr 14, 2005 3:22 pm    Post subject: Reply with quote

Code:
emerge screen

screen creates virtual persistent consoles. Basic usage: <Ctrl-a> <d> detaches screen, you can log off now, screen -r restores session (so you can see what is going on), <Ctrl-a> c creates new screen window, <Ctrl-a> n moves to next window, p to previous. <Ctrl-a> a sends ctrl-a to program in window. For rest, consult manual - IMHO screen is the best piece of terminal software ever written for linux.
Back to top
View user's profile Send private message
GBob
Tux's lil' helper
Tux's lil' helper


Joined: 13 Nov 2004
Posts: 110
Location: Portland, Oregon

PostPosted: Thu Apr 14, 2005 5:58 pm    Post subject: Reply with quote

Thanks, it works perfectly (using screen -xR for multi-user mode)
_________________
rank[0]-=('n'-'d');
rank[3]-=('b'-'d');

It is better to say nothing and have people think your are an idiot,
Than open your mouth and remove all doubt.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum