Learning the version of SSH you have ∞
--version would work, but no:
Older version of ssh might do:
\ssh -v localhost
You could also check your package manager.
For example, APT has:
\apt-cache show ssh
Avoid being forced to log in with SSH ∞
The LUFS "lussh" SSH setup helper script.