class SSH2::Agent

Included Modules

Defined in:

agent.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(session : SSH2::Session) #

[View source]

Instance Method Detail

def authenticate(username) #

Authenticate username with agent


[View source]
def connect #

Connect to an ssh-agent running on the system.


[View source]
def disconnect #

Close a connection to an ssh-agent.


[View source]
def each(&) #
Description copied from module Enumerable(SSH2::Agent::PublicKey)

Must yield this collection's elements to the block.


[View source]
def finalize #

[View source]
def list_identities #

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


[View source]
def to_unsafe : Pointer(Void) #

[View source]