1

i'm using a java application on my terminal wich listen to a specific port for specific connections .

i'm using it in terminal like :

java -jar Server.jar

everything works perfectly except that when i disconnect from the ssh session ( using putty ) , the connection get lost and the server stops .

i want to let the connection or the server open even after ending the ssh session .

1
  • 2
    Have you tried nohup java -jar Server.jar &?
    – Tomas F.
    May 9, 2017 at 12:00

1 Answer 1

6

Answer is in top 1 related question

How to keep processes running after ending ssh session?

nohup java -jar Server.jar &

2
  • Please use flag > duplicate next time.
    – Melebius
    May 9, 2017 at 13:22
  • Cannot with my reputation
    – Tomas F.
    May 9, 2017 at 13:28

Not the answer you're looking for? Browse other questions tagged .