Bug fix for ssh-halt

Fix error when shutting down specified machine