I know it is possible to have remote VNC screen on server and connect to it and see, what is happening there.Is it possible to have the same in text-mode shell?I would connect to remote machine with ssh, then connect to such remote screen and see, what my program does there?The general task is following:I have python script, that is scrapping the web. This script just prints what it does to stdout. Currently I am running the script in ssh terminal. From time to time I am switching to ssh window and see, how my script feels: either it is still working, or it is crashed with error report.But in this situation, if I reboot my machine or network disconnect, my ssh session will quit and all containin programs will stop.How to avoid this? How to have something like text-mode VNC?
Remote text mode terminal shell screen
ssh;background process
Look for screen program. It should do what you want.Alternatively you can run your program with nohup so it will not die when you disconnect your session (later on you can see the output in nohup.out file)