Fixed logoutmac to do ssh