Try pushing the SSH server with telnet to port 22. You will receive the first message, but nothing more useful. Just "protocol mismatch" and the connection is closed.
The telnet client is useful as a tool in this way because it uses the plaintext protocol. You can hit any port using a different plain text protocol and decode it in your head, as is the case with HTTP. SSH encrypts everything, so using telnet to connect to an SSH server will be a little difficult to read with the naked eye.
telnet yoursshserver 22 Trying 50.112.5.74... Connected to yoursshserver. Escape character is '^]'. SSH-2.0-OpenSSH_5.9p1 Debian-5ubuntu1 something I typed Protocol mismatch. Connection closed by foreign host.
source share