1

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 01 '13 at 11:47
  • @Shadur I have it already configured using the daemon and local web gui –  Oct 01 '13 at 15:21

1 Answers1

0

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.

goldilocks
  • 86,451
  • 30
  • 200
  • 258