fix OpenSSH version detection code