This question has been reworded, previous one was a duplicate of Execute remote commands, completely detaching from the ssh connection

I want to access to a computer through SSH, run both Iceweasel and Transmission, use Iceweasel to find some torrents, add the torrents to Transmission, close Icewasel, close my SSH session and let Transmission running on the server.

I'm running Transmission using nohup, but if I close Transmission, it closes on the server. If I exit the session, it closes as well.

  • Maybe a bit late, but transmission has a dual mode in which you can run it as a daemon, then use a commandline interface or transgui to manage its torrents. – Shadur Oct 1 '13 at 11:47
  • @Shadur I have it already configured using the daemon and local web gui – Ay0 Oct 1 '13 at 15:21

You can try nohup ("no hangup"). For example:

nohup myapp &

If that's not enough, redirect all the I/O streams:

nohup myapp < /dev/null 2>&1 &

By default nohup has already redirected stream 1 to "nohup.out", but you can change that (see man nohup). Wikipedia also has a good article.

Notice that you still need to use & with nohup.

| improve this answer | |

Not the answer you're looking for? Browse other questions tagged or ask your own question.