---> Applications started through ssh alone cannot be detached.Maybe this technique will work ?https://superuser.com/questions/1293298/how-to-detach-ssh-session-without-killing-a-running-process