LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   ssh ->suspend and resume... (https://www.linuxquestions.org/questions/linux-networking-3/ssh-suspend-and-resume-275410/)

alaios 01-08-2005 12:06 PM

ssh ->suspend and resume...
 
Hi... Lets assume that i must ssh to a remote machine so i can finish my work, I want the ssh execute the command in such way that continues executing if i exit the ssh... then after some hours i want to log in again and view that the process is finished..
How i can start some processes over ssh without being killed when i exit the session?

Demonbane 01-08-2005 12:14 PM

use "screen"

Cedrik 01-09-2005 04:43 AM

Or you could use nohup <command>

alaios 01-09-2005 11:45 AM

thx
 
Thx ...the screen does not exist by default to the most systems so i have tried the nohup command

I connect using ssh and i have entered a kernel recompile job using the nohup
nohup make dep &
It started succesfulyy but when i ran the exit so to return back to my pc the session didn't end up immediately but as i have noticed ssh was waiting for the nohup make dep & command to finish execution why is that? I want to terminate the ssh session and when i relogin back to see the processes stil running

alaios 01-10-2005 11:57 PM

;)
 
thx...but any answer?


All times are GMT -5. The time now is 11:42 PM.