-1

How can I keep a jar, that I started via ssh, running on a server after disconnect my ssh?

Kitalda
  • 103
  • 4
user1022241
  • 103
  • 2
  • SSH needs a way to leave the connection a little bit open, rather than closing it completely when you disconnect. I suggest `ssh --ajar`... – womble Aug 17 '15 at 09:27

2 Answers2

0

Search for GNU screen or tmux. This is one important feature of those programs.

Other than that, refer to man nohup.

Sven
  • 98,649
  • 14
  • 180
  • 226
0

Try adding nohup when executing and then use the disown command.

Consider adding more details to your questions. You didn't even tell us what operating system you're on.

Safado
  • 4,786
  • 7
  • 37
  • 54