From: Daniel Berger Date: 2005-02-18T05:39:48+09:00 Subject: Re: Net:SSH bug (+ fix) Peter C. Verhage wrote: > Hi, > > Just found a small bug in Net::SSH 1.0. Line 44 of services.rb contains > the following if statement: > > if socket_name && socket_factory > > If you use the Putty Agent the socket factory is enough for agent usage, > but because of this if statement you also have to set the SSH_AUTH_SOCK > environment variable to make use of the agent. This could be changed by > slightly changing the if statement to: > > if (File::ALT_SEPARATOR || socket_name) && socket_factory > > Thanks for the great library BTW! > > Regards, > > Peter Nice spot. Please post patches, bug fixes, etc on the Net::SSH RubyForge project page. Jamis is more likely to see it, and less likely to forget it. :) Regards, Dan