http://sudoall.com/how-to-quit-esxi-ssh-and-leave-background-tasks-running/ how to start a shell independent task The idea is to run the commands in the job list, say cp /path1/file1 /path2/file2 & Then when you need to log off the session you run the exec /dev/null 2>/dev/null When leaving the session the SIGHUPs to child processes will (or should , ESX is bound to change userspace without notice) NOT be sent. ############################################################################ Show background jobs jobs ID and terminate with kill %ID ############################################################################# https://www.tecmint.com/keep-remote-ssh-sessions-running-after-disconnection/ setsid any-command & OR nohup find / -type f $gt; files_in_system.out 2>1 &