debvm-waitssh(1)

debvm-waitssh1

Wait for a ssh server to be reachable

Usage

debvm-waitssh [-q] [-t timeout] [hostname:] port

Overview

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, 127.0.0.1 is assumed. No authentication is attempted by debvm-waitssh, so neither a username nor a key have to be supplied.

Options

-t timeout, --timeout=timeout

Set the maximum duration for waiting in seconds. Defaults to one minute.

-q, --quiet

Be quiet. Do not output a message when the timeout has been reached without success.

Exit status

0

The server is reachable.

1

A timeout was reached before the server answered.

2

Usage error.

Releases

2 releases since Debian 12 (Bookworm); the text changed 1 time.

  1. 12
  2. 13

From debvm 0.4.5+deb13u1 in Debian 13 (Trixie). Parsed by carta from the page's man source.