Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
"save" ssh session
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
csid
Tux's lil' helper
Tux's lil' helper


Joined: 24 Dec 2006
Posts: 77

PostPosted: Tue Jan 02, 2007 7:10 pm    Post subject: "save" ssh session Reply with quote

Hello!


How can i "save" a ssh session.

Example: i start to compile a program via ssh. But want to close the client (putty), but then i want to connect to the same shell again, and get the messages and so on.

How to?
Back to top
View user's profile Send private message
pteppic
l33t
l33t


Joined: 28 Nov 2005
Posts: 781

PostPosted: Tue Jan 02, 2007 7:18 pm    Post subject: Reply with quote

Use screen on the remote machine.
Back to top
View user's profile Send private message
nobspangle
Veteran
Veteran


Joined: 23 Mar 2004
Posts: 1318
Location: Manchester, UK

PostPosted: Tue Jan 02, 2007 9:28 pm    Post subject: Reply with quote

emerge screen then to start a session

Code:
screen -S sessionname


To leave the session ctrl+A then D

To rejoin a session

Code:
screen -x sessionname
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