Class/Module Index [+]

Quicksearch

Net::SSH::Authentication::Pageant

This module encapsulates the implementation of a socket factory that uses the PuTTY “pageant” utility to obtain information about SSH identities.

This code is a slightly modified version of the original implementation by Guillaume Marçais (guillaume.marcais@free.fr). It is used and relicensed by permission.

Constants

AGENT_COPYDATA_ID
AGENT_MAX_MSGLEN

From Putty pageant.c

Public Class Methods

socket_factory() click to toggle source

Selects which socket to use depending on the ruby version This is needed due changes in the DL module.

# File lib/net/ssh/authentication/pageant.rb, line 250
def self.socket_factory
  if RUBY_VERSION < "1.9"
    Socket
  else
    Socket19
  end
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.