Celeb Glow
updates | March 19, 2026

Execute java from terminal and let it run even after the ssh session ends [duplicate]

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

1 Answer

Answer is in top 1 related question

How to keep processes running after ending ssh session?

nohup java -jar Server.jar &

2