So, I ssh into my remote computer and launch a process... time passes... my ssh session breaks. I log in again, and of course, I don't have access to the original process now. I can see it still if I ps -ax but I can't do nothing about it other than kill it. Which, sometimes, may not be advisable, such as when the original process is, say, vacuuming a sqlite3 database.
So, can I get control of that process from a previous broken ssh session? If yes, how?
screensession, which you can detach and re-attach at will.screento start a session,C-a dto detach it,screen -d -rto detach and reattach. – jw013 Oct 08 '11 at 18:59