how to set ssh/putty session running in disconnected mode
Hi All,
How can we put ssh/putty session running even after in standby or disconnected mode. The idea is to have run a long running job from my notebook, which may take 6-8 hours, and if i come next day, there should be interrupt with it. Regards, Amir |
Not sure this or anything will work with the server in standby mode but here is a workaround to Keep Your Linux SSH Session From Disconnecting.
Hope this helps, Ian |
|
I assume the OP means if the client is disconnected from the server.
The screen command will allow the client to disconnect without the running process being stopped. http://www.linuxjournal.com/article/6340 http://www.rackaid.com/resources/lin...al-and-how-to/ To late... |
Quote:
I haven't used screen that much so can't comment on that, but nohup is pretty easy. Simply put "nohup" before the command and it will continue to run even if the session is disconnected. Code:
# nohup somecommand |
Re nohup; I usually use
Code:
nohup /dir/prog > /dir/prog.log 2>&1 & |
Thank you all,
I will try to implement these, and hopefully update you soon. Regards, Amir |
Quote:
|
All times are GMT -5. The time now is 11:44 PM. |