SSH2::Agent
Inherits Enumerable / Reference / Object
Talks to the local ssh-agent (via SSH_AUTH_SOCK) to authenticate a session
with one of the identities it holds. See Session#login_with_agent.
Constructors
new(session : SSH2::Session)
SourceInstance methods
each
Yield each identity held by the agent as a PublicKey. Call
list_identities first to populate the collection.
finalize
Sourcelist_identities
Request an ssh-agent to list of public keys, and stores them in the internal collection of the handle.
to_unsafe
Source