class Net::SSH::Authentication::Agent

def remove_all_identities

Removes all identities from the agent.
def remove_all_identities
  type, = send_and_wait(SSH2_AGENT_REMOVE_ALL_IDENTITIES)
  raise AgentError, "could not remove all identity from agent" if type != SSH_AGENT_SUCCESS
end