How to run a program in an ssh session that will run after you close out the session?
hi. i just started using ssh (forwarding the X session) to connect to my desktop. here is the situation. I have azureus on my desktop and a new IPTV episode came out that i wanted to download. So i ssh from my laptop into my desktop. Opened firefox to the page and clicked on the torrent and azureus started up and started the torrent. I had done the firefox command with & at the end of it but when azureus opened it's information came into the shell so i would have to hit Ctrl+c to close it out and close the session. Is there a way i could have started it up and had the torrent download and then close the session without having to close azureus? thanks for any replies in advance.
|
Is this what you want ???
http://wiki.linuxquestions.org/wiki/Nohup |
by the description it would appear so but after i log out and log in again and check to see if the program is still running it is not. Is an ssh session independent of the current session that is occuring on the remote host and maybe that is why it isn't staying up?
|
What I usually do is this
Code:
nohup command [options] > output.log & Code:
tail -f output.log EDIT Code:
If nohup output is redirected to a terminal or is not redirected at all, |
Isn't it possible to start that torrent with commands so you can work with screen? (Excuse me for not adding a link to the man page, but the system won't let me until I have five posts on this forum)
|
screen will be what you want.
screen -S sessionname will start the session screen -R will resume the session soule |
All times are GMT -5. The time now is 10:04 AM. |