This is still blocking:
ssh host nohup cmd
This still leaves the connection open:
ssh host nohup cmd &
feedback
|
This question came from our site for professional and enthusiast programmers.
|
Try this:
| |||
feedback
|
|
The This seems to work:
The first In my example, the tail command is still running after I've closed the connection. edit this does not seems to work as This may be related to the fact that it's writing to edit 2 works fine when redirecting the tail command to /dev/null ^_^ Just be careful and don't write to stderr / stdout, or redirect the output to a local destination | |||
|
feedback
|
|
The following will work:
(at least if you are not prompted for a password). In case you are I don't see a easy way to do it. | |||
|
feedback
|