check_ssh [-4|-6] [-t <timeout>] [-r <remote version>] [-p <port>] <host>
i.e.
./check_ssh -p 2222 office
SSH OK - OpenSSH_4.3 (protocol 2.0) | time=0.015551s;;;0.000000;10.000000