class Net::SSH::Authentication::Agent

def unlock(password)

unlock the ssh agent with password
def unlock(password)
  type, = send_and_wait(SSH2_AGENT_UNLOCK, :string, password)
  raise AgentError, "could not unlock agent" if type != SSH_AGENT_SUCCESS
end