Fixed testing for an alive ssh standard socket.