def _ssh_get_openssh_version(ssh_session):
openssh_server_version = c_ssh_get_openssh_version(c_void_p(ssh_session))<EOL>if openssh_server_version == <NUM_LIT:0>:<EOL><INDENT>raise SshError("<STR_LIT>"<EOL>"<STR_LIT>")<EOL><DEDENT>return openssh_server_version<EOL>
Returns an encoded version. Comparisons can be done with the 
    SSH_INT_VERSION macro.