Liking cljdoc? Tell your friends :D
Clojure only.

clj-libssh2.agent

Functions for interacting with an SSH agent. The agent is expected to be available on the UNIX domain socket referred to by the SSH_AUTH_SOCK environment variable.

Functions for interacting with an SSH agent. The agent is expected to be
available on the UNIX domain socket referred to by the SSH_AUTH_SOCK
environment variable.
raw docstring

authenticateclj

(authenticate session username)

Attempt to authenticate a session using the agent.

Arguments:

session A clj-libssh2.session.Session object which refers to a session which has not already been authenticated. username The username for the user who is trying to authenticate.

Return:

True on success. An exception will be thrown if the user could not be authenticated.

Attempt to authenticate a session using the agent.

Arguments:

session  A clj-libssh2.session.Session object which refers to a session
         which has not already been authenticated.
username The username for the user who is trying to authenticate.

Return:

True on success. An exception will be thrown if the user could not be
authenticated.
sourceraw docstring

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

× close