Ping before ssh

Check ping before ssh
Bug fix