clj-libssh2.known-hosts
Utilities for checking the host key of a remote machine against a list of known hosts.
check
(check session)
Given a session that has already completed a handshake with a remote host, check the host key of the remote host against the known hosts file. Arguments: session The clj-libssh2.session.Session object for the current session. Return: 0 on success or an exception if the host key does not validate.