diff options
author | Helmut Grohne <helmut@subdivi.de> | 2023-01-03 16:56:38 +0100 |
---|---|---|
committer | Helmut Grohne <helmut@subdivi.de> | 2023-01-03 16:56:38 +0100 |
commit | 354f9790fb3706a229b9eb4b1d02d578d4297bdc (patch) | |
tree | 4a8d959673a93875a3a83d1ccbd541f6bef5bf1f /debvm-waitssh | |
parent | 4e959cc83446ab426649425add520d3da58bfdd3 (diff) | |
download | debvm-354f9790fb3706a229b9eb4b1d02d578d4297bdc.tar.gz |
debvm-waitssh: force ipv4
On salsa, localhost resolves to ::1 and ssh-keyscan skips checking
127.0.0.1 there.
Diffstat (limited to 'debvm-waitssh')
-rwxr-xr-x | debvm-waitssh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/debvm-waitssh b/debvm-waitssh index 843963d..557ffad 100755 --- a/debvm-waitssh +++ b/debvm-waitssh @@ -14,7 +14,7 @@ B<debvm-waitssh> [B<-t> I<timeout>] [I<hostname>:]I<port> =head1 DESCRIPTION B<debvm-waitssh> can be used to wait for a virtual machine with exposed ssh port to be reachable on that port. -If no hostname is given, B<localhost> is assumed. +If no hostname is given, B<127.0.0.1> is assumed. =head1 OPTIONS @@ -124,7 +124,7 @@ case "$1" in PORT=${1##*:} ;; *) - HOST=localhost + HOST=127.0.0.1 PORT=$1 ;; esac |