check if ssh connection