Hello, I do have a problem with doing authentification via public/private key files and the ssh_options[:keys] in the capfile.
My environment: Windows XP SP2 on the client side capistrano 1.4.1 (cause I cannot install cap 2 because of streaming buffer error) net-ssh 1.1.2 SSH-1.99-OpenSSH_3.6.1p2 (on the server side) Everything works if I use pagent for managing my private key file!!! But if I want to work without pagent and only with the options in the cap (deploy.rb)-File it won' t accept the private key. In my cap-file I have: ssh_options[:keys] = %w(C:/test_neu) After switching ssh debugging on I get the following: ... [DEBUG] Wed Jun 27 12:19:49 +0200 2007 -- transport.session: got packet of type 33 [DEBUG] Wed Jun 27 12:19:49 +0200 2007 -- transport.session: sending message >>"\025"<< [DEBUG] Wed Jun 27 12:19:49 +0200 2007 -- transport.session: waiting for packet from server... [DEBUG] Wed Jun 27 12:19:49 +0200 2007 -- transport.incoming_packet_stream: reading 8 bytes from socket... [DEBUG] Wed Jun 27 12:19:49 +0200 2007 -- transport.incoming_packet_stream: packet length(12) remaining(8) [DEBUG] Wed Jun 27 12:19:49 +0200 2007 -- transport.incoming_packet_stream: received: "\025" [DEBUG] Wed Jun 27 12:19:49 +0200 2007 -- transport.session: got packet of type 21 [DEBUG] Wed Jun 27 12:19:49 +0200 2007 -- transport.session: sending message >>"\005\000\000\000\fssh-userauth"<< [DEBUG] Wed Jun 27 12:19:49 +0200 2007 -- transport.session: waiting for packet from server... [DEBUG] Wed Jun 27 12:19:49 +0200 2007 -- transport.incoming_packet_stream: reading 8 bytes from socket... [DEBUG] Wed Jun 27 12:19:49 +0200 2007 -- transport.incoming_packet_stream: packet length(28) remaining(24) [DEBUG] Wed Jun 27 12:19:49 +0200 2007 -- transport.incoming_packet_stream: received: "\006\000\000\000\fssh- userauth" [DEBUG] Wed Jun 27 12:19:49 +0200 2007 -- transport.session: got packet of type 6 [DEBUG] Wed Jun 27 12:19:49 +0200 2007 -- userauth.driver: trying "publickey" [DEBUG] Wed Jun 27 12:19:49 +0200 2007 -- userauth.driver: trying "hostbased" [DEBUG] Wed Jun 27 12:19:49 +0200 2007 -- userauth.driver: all authorization methods failed Password: --~--~---------~--~----~------------~-------~--~----~ To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/capistrano -~----------~----~----~----~------~----~------~--~---
