SSH commands and connectivity helper