# File lib/net/ssh/authentication/agent/socket.rb, line 45 def self.connect(logger=nil) agent = new(logger) agent.connect! agent.negotiate! agent end