This question already has an answer here:

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 .

marked as duplicate by steeldriver command-line May 9 '17 at 12:11

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

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

Answer is in top 1 related question

How to keep processes running after ending ssh session?

nohup java -jar Server.jar &

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.