I want to run a script on a remote host with sudo priviledge, someone suggests that I should use nohup and ssh -t, like the following command the script ls;sleep 10;echo finish is crafted here to ...
In Ubuntu I'm trying to run the geany editor on my local X display via the command: autossh -o StrictHostKeyChecking=false -XCg me@otherDYNDNShost geany & Trouble is, after the first ...
How do I connect to ssh debian and running a program and let it continue to run after you finish my connection through ssh.
I want to write a little script which sets up a socks proxy via ssh and then starts a browser using that proxy. #!/bin/bash ssh -D 1234 user@host #& chromium-browser ...
I have 2 computers, localpc and remoteserver. I need localpc to execute some commands on remoteserver. One of the things it needs to do is start a backup script that runs for a number of hours. I ...
Please look at these: ## Does NOT return to the shell, but Ctrl-C can exit ssh -S none -fNR 13018:localhost:22 example.com | cat ## Returns to the shell (no "-S none") ssh -fNR ...
I'm trying to run a program over SSH that keeps running when I disconnect. This Stack Overflow answer gave me the following command: nohup sleep 30 > foo.out 2> foo.err < /dev/null & ...