I'm connecting to my RaspberryPi with Raspbian installed via ssh and my problem is, that I can't let the RasPi do things (installing software, make calculations) while my Computer is shut down, since the processes I launch via SSH are child processes of the SSH shell and are terminated when the connection ends. I know i can disconnect child processes from the shell, but I'm not sure which way to use and it i would like to be able to see as much of the output of the process as possible (maybe in a file?).

BTW: I'm using PuTTY from Windows 7 :(


There's a little tool called screen which is able to do this from you. You can detach from a screen session and let it run in background so you can close the SSH connection. After reconnection you can reatach to the screen.


| improve this answer | |
  • looks good, i'll try it out :) – 0x539 Apr 27 '15 at 16:19
  • 1
    GNU screen is called tmux these days. ;) – lcd047 Apr 27 '15 at 16:29
  • Whilst this may theoretically answer the question, it would be preferable to include the essential parts of the answer here, and provide the link for reference. – slm May 12 '15 at 3:12

Not the answer you're looking for? Browse other questions tagged or ask your own question.