Linked Questions

64
votes
4answers
264k views

Keeping a process running after PuTTY or terminal has been closed [duplicate]

I'm running a Node.js server off of a Raspbian (Debian) machine, and I'd like to start and stop the server remotely. This for me means using PuTTY to access the shell, except when I close out of the ...
7
votes
4answers
21k views

Keeping a process running on server even SSH is closed [duplicate]

I am running long program on server, which is basically Jar file of java program. I want to keep this program running even if SSH terminal is closed, how I can keep this program running on server?
3
votes
3answers
2k views

How to run script using SSH from remote computer and avoid its interruption if remote computer goes offline [duplicate]

I have a remote Linux server and I use it to run some very long tasks using SSH. It works great, but, of course, if the connection dies for some reason, the task dies. Specifically, I'm running ...
0
votes
2answers
3k views

exit ssh and still have a command running? [duplicate]

I am running a command on a server. It comes with this library http://www.graphicsmagick.org/. Basically I have a for loop that does image procession on a lot of files. Command runs for hours and ...
2
votes
1answer
4k views

How can I start a remote process on a remote machine via ssh? [duplicate]

I want to start a shell script that resides on a remote machine. When I use ssh user@example.com /path/to/script.sh it needs the ssh connection to be open until the script has terminated. But I ...
2
votes
2answers
2k views

SSH'd into a linux AWS box, how to exit out of terminal without closing script running in AWS box? [duplicate]

I have ssh'd into a ubuntu AWS box via terminal on mac. I have successfully setup the process I want to run in the box. How do can exit out of terminal without killing the process running? Can not ...
2
votes
2answers
2k views

How can I make a process I start during an SSH session run after the session has ended? [duplicate]

Possible Duplicate: Keep SSH Sessions running after disconnection. I have a process which is basically a web-server, I start it during an SSH session. However, when I leave the session (by ...
0
votes
1answer
1k views

How do I log out/disconnect from SSH after starting a process with output to keep it running? [duplicate]

I ran a script from the command line today (php, not sure that matters) which has output I wanted to watch but I had to go home before it finished and I couldn't figure out how to exit without killing ...
0
votes
2answers
801 views

How to ssh into a remote box, run a command and keep it running after I disconnect [duplicate]

I've seen people saying use screen. But when I typed "screen" in the terminal, I got: "Please set a terminal type." Any idea how I can fix this?
2
votes
1answer
692 views

Is there a mechanism to run a “service” by a non-root user? [duplicate]

Is there a way I can have a continuously running, background process that can be controlled by me (a regular, non-root user)? All I need to be able to do is start, stop and restart the process. ...
2
votes
1answer
697 views

Keep service running after ssh session ends [duplicate]

i have an ubuntu-server box to which i connect via ssh. now when i start a service (in this case teamcity) i would like to keep it running after the ssh session ends. right now the service stops as ...
0
votes
2answers
514 views

How to start remote command line session? [duplicate]

I use putty to login to the server via ssh. This creates a session locally; meaning if I disconnect from putty, the session is lost. Is there any way that the session can keep running and be ...
1
vote
1answer
102 views

ssh into server from desktop & run program X, later ssh into server from laptop & interact with X [duplicate]

I'm sure this is a very basic question. I assume tmux could facilitate this, but I'm not sure of the exact steps. My use-case is: I'm sitting at my desktop and I ssh into a server. I start a long-...
0
votes
0answers
148 views

SSH : launch task and leave it running even if I quit the terminal [duplicate]

I want to launch a task through ssh and then exit my terminal and have my task continuing on my ssh server. I have tried a bunch of things which did not work, such as : laptop$ ssh server@ipaddress ...
0
votes
2answers
57 views

How to maintain a command from terminal running? [duplicate]

I launch connexion ssh to use rsync command in terminal and I would like to shutdown my computer, but I need to let run the process rsync. I executed this command on a remote host. If I quit now then ...

15 30 50 per page