ssh-probe2(1) — Commands
NAME
ssh-probe2, ssh-probe − Locates Secure Shell servers from the local network
SYNOPSIS
ssh-probe2 [−t timeout] [−r] [−s] addresses . . .
OPTIONS
−t timeout
The amount of time (in seconds) that the ssh-probe2 command waits for server replies before exiting.
−rMakes the output more readable than the raw list format suitable for scripts.
−sInhibits output. The success of the ssh-probe2 command can be concluded only from the exit value. In this mode, the −r option has no effect.
DESCRIPTION
The ssh-probe2 command sends a query packet as a UDP datagram to servers and displays the address and the Secure Shell version number of the servers that respond to the query.
RETURN STATUS
The ssh-probe2 command returns one of the following exit values. This can be useful in scripts.
0The broadcast was sent, and at least one reply was received.
1The broadcast was sent, but no replies were received.
-1An unspecified error has occurred. This is for errors not listed previously.
LEGAL NOTICES
SSH is a registered trademark of SSH Communication Security Ltd.
SEE ALSO
Commands: sshd2(8)