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