Forum Home
Press F1
 
Thread ID: 55747 2005-03-18 19:32:00 Continuing an SSH Session Ash M (46) Press F1
Post ID Timestamp Content User
335486 2005-03-18 19:32:00 Hey,

I was wondering, is there a way to start a process on my PC via SSH, and have it keep going even if the ssh session is closed, and then be able to go back to that session from a different PC.

The reason I ask, is if I was doing an emerge -u world, which would obviously take a relatively long time, I may need to leave the place I started the session and shut that PC down....

Is this possible?

Ash
Ash M (46)
335487 2005-03-18 20:07:00 Yes it is possible by using screen.

First emerge screen. When you want to leave something running, run "screen" to detache the screen, press ctrl-a then ctrl-d. to return to the screen, just type "screen -r". man screen for more information.
ILikeLinux (1669)
335488 2005-03-18 20:26:00 Couldnt have put it better myself :)

emerge --resume is your friend too ;)
Chilling_Silence (9)
1