You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ifecho"$output"| grep -i "port 22: Network is unreachable\|port 22: connection refused\|port 22: no route to host\|ssh_exchange_identification: Connection closed by remote host\|Connection timed out during banner exchange\|port 22: Connection timed out">/dev/null;then
65
+
exec"$(basename $0)""$hostname:122"
66
+
fi
67
+
68
+
echo"$output"1>&2
69
+
echo"Error: ssh connection with '$host' failed"1>&2
70
+
echo"Note that your SSH key needs to be setup on $host as described in:"1>&2
0 commit comments