views:

160

answers:

3

Is there a way to start a process using ssh that doesn't terminate when the ssh session terminates? I want the job to keep running on the computer I'm ssh-ing into without me having to keep the connection open.

+3  A: 

You could use the screen utility.

Luke Quinane
+1 for screen. I use it start a long running process before I leave work. Then I detach the screen and I can check its progress later by reattaching to the screen session while logged in from home.
Dave Bacher
+3  A: 

you can use nohup (assuming you are SSHing into *nix server)

ghostdog74
+1  A: 

An alternative to screen is dtach. dtach is smaller and more lightweight - in fact it is just the detach part of the screen utility.

Mailslut