Printable Version of Topic

Click here to view this topic in its original format

Linuxhelp _ Technical Support _ Running a file via SSH

Posted by: nath May 22 2008, 10:46 AM

I recenty got a linux dedicated server i have found out everthing how to run the program i want ect. but as soon as i close the ssh client the program closes, wich i dont want it to is there any way around this?

Posted by: michaelk May 22 2008, 05:16 PM

One solution is to use screen
http://www.rackaid.com/resources/linux-tutorials/general-tutorials/linux-screen.cfm

BTW this is normal.

Posted by: linest Jul 7 2008, 01:19 PM

QUOTE (nath @ May 22 2008, 10:46 AM) *
I recenty got a linux dedicated server i have found out everthing how to run the program i want ect. but as soon as i close the ssh client the program closes, wich i dont want it to is there any way around this?



nohup /usr/local/bin/commandiwannarun.sh &

Then log out with impunity.

Powered by Invision Power Board (http://www.invisionboard.com)
© Invision Power Services (http://www.invisionpower.com)