SSH nohup job aborted on client exit on vSphere 6.5

SSH nohup job aborted on client exit on vSphere 6.5

I am using vSphere 4.1, 5.5 and 6.5.

For automatic shutdown on power fail (UPS) i am using ssh and a short script on the vmware host for controlled shutdown.

I had working skripts (using expect and ssh with public key authentication) for shutting down 4.1 and 5.5 installations of vSphere.

This skripts failed on the current 6.5 Version of vSphere (6.5.0 (Build 4887370)).

The issue was that the skript started correctly with nohup as background task.

The job was shown as correct working with "jobs -l" command.

When exiting the ssh session - the background job was killed!!!

This behaves the same also when manually entering the commands.

After long search i found out that the combination of openssh client and 6.5 Version of vSphere causes the issue.

After switching to another ssh client (putty on linux) everything is working fine.

Hope this info saves time for others 🙂


Same here but it doesn't work at all event when I use directly connected console.

Version history
Revision #:
1 of 1
Last update:
‎02-16-2017 05:20 AM
Updated by: