]> git.ipfire.org Git - thirdparty/curl.git/commit
libssh2: add support for forcing a hostkey type
authorSantino Keupp <santino.keupp@diehl.com>
Fri, 20 Dec 2019 12:37:20 +0000 (13:37 +0100)
committerJay Satiro <raysatiro@yahoo.com>
Sun, 12 Jan 2020 00:17:33 +0000 (19:17 -0500)
commit272282a05416e42d2cc4a847a31fd457bc6cc827
treeed6efaed06de058794c9de3003425e856fafcd5f
parent8792a592232a8578c6217a2f8a07bc5f33c3a82f
libssh2: add support for forcing a hostkey type

- Allow forcing the host's key type found in the known_hosts file.

Currently, curl (with libssh2) does not take keys from your known_hosts
file into account when talking to a server. With this patch the
known_hosts file will be searched for an entry matching the hostname
and, if found, libssh2 will be told to claim this key type from the
server.

Closes https://github.com/curl/curl/pull/4747
lib/vssh/libssh2.c