Modify for avoid deprecated functions of libssh
Modify for avoid deprecated functions of libssh

ssh_get_publickey() becomes deprecated function from libssh 0.8.0.

ssh_get_publickey() and ssh_write_knownhost() become deprecated
functions from libssh 0.9.0.

CESNET/libnetconf2,CESNET/libnetconf2