Use the new ssh API (ssh_get_publickey_hash) when the libssh version is greater than or equal to 0.6.1