DOKK / manpages / debian 11 / ssh-tools / ssh-version.1.en
SSH-VERSION(1) User Commands SSH-VERSION(1)

ssh-version - shows version of the SSH server you are connecting to

Usage: ssh-version [OPTIONS] hostname
Examples:
ssh-version 127.0.0.1
ssh-version -p 35007 127.0.0.1
January 2020 SSH-TOOLS