Wednesday, April 25, 2012

Quit ssh with out killing running process

Since I need to keep start.jar of jetty running on EC2. I need to quit the ssh without killing the current running jetty process. There is a tool called "screen" can do this easily.

Follow the steps below
1.
screen
2.
sudo java -jar start.jar
3.
ctrl+a and then ctrl+d
4.quit ssh.

No comments:

Post a Comment