Struct ssh2::Agent [] [src]

pub struct Agent<'sess> { /* fields omitted */ }

A structure representing a connection to an SSH agent.

Agents can be used to authenticate a session.

Methods

impl<'sess> Agent<'sess>
[src]

[src]

Connect to an ssh-agent running on the system.

[src]

Close a connection to an ssh-agent.

[src]

Request an ssh-agent to list of public keys, and stores them in the internal collection of the handle.

Call identities to get the public keys.

Important traits for Identities<'agent>
[src]

Get an iterator over the identities of this agent.

[src]

Attempt public key authentication with the help of ssh-agent.

Trait Implementations

impl<'a> Drop for Agent<'a>
[src]

[src]

Executes the destructor for this type. Read more

Auto Trait Implementations

impl<'sess> !Send for Agent<'sess>

impl<'sess> !Sync for Agent<'sess>