It is a SSH-2 RSA key generated with Putty Key Generator.

Feurio

On 27 Jun., 18:17, "Jamis Buck" <[EMAIL PROTECTED]> wrote:
> What kind of key is it? DSS? RSA? Note that Net::SSH does not support
> RSA1 keys, so you need to make sure it is either DSS or RSA.
>
> - Jamis
>
> On 6/27/07, Feurio <[EMAIL PROTECTED]> wrote:
>
>
>
> > Hi Jamis,
>
> > c:/ is the directory and test_neu is the filename.
> > Actually the filename is test_neu.pub
> > But I left the .pub because capistrano seems to add it automatically.
>
> > Feurio
>
> > On 27 Jun., 16:08, "Jamis Buck" <[EMAIL PROTECTED]> wrote:
> > > Is c:/test_neu a directory containing your keys, or is it a key file
> > > itself? Note that the :keys option must point to an array of actual
> > > key filenames, and not just a directory where they exist.
>
> > > - Jamis
>
> > > On 6/27/07, Feurio <[EMAIL PROTECTED]> wrote:
>
> > > > 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to