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
February 2022 SSH-TOOLS