HighCommander4
HighCommander4

Reputation: 52799

How to start process over ssh that doesn't terminate when session ends?

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.

Upvotes: 4

Views: 3304

Answers (3)

Dal Hundal
Dal Hundal

Reputation: 3324

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

Upvotes: 3

ghostdog74
ghostdog74

Reputation: 342619

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

Upvotes: 6

Luke Quinane
Luke Quinane

Reputation: 16615

You could use the screen utility.

Upvotes: 5

Related Questions