Liking cljdoc? Tell your friends :D
Clojure only.

clj-libssh2.known-hosts

Utilities for checking the host key of a remote machine against a list of known hosts.

Utilities for checking the host key of a remote machine against a list of
known hosts.
raw docstring

checkclj

(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.

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.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close