Is id_rsa.ppk an SSH1 key or an SSH2 key? Net::SSH (which is used by  
Capistrano) only understands SSH2 keys, not SSH1. If you used ssh- 
keygen to generate the key, this means that you must use either 'rsa'  
or 'dsa' as the parameter to the -t switch, and NOT 'rsa1'.

Is anyone else using cap+Pageant, who can comment as to whether it is  
working for them or not?

- Jamis

On May 7, 2008, at 3:41 AM, giorgio wrote:

>
> I am having trouble getting Capistrano to get off the start line.
>
> I can log on to the server in question from Win XP using Putty and
> with "id_rsa.ppk" loaded into Pageant.
>
> It works fine. Here is the line I get back when I log in:
> Authenticating with public key "imported-openssh-key" from agent
>
> However when I try a cap deploy:setup from the same windows session I
> still get prompted for a password and then:
> Password:
> connection failed for: george-ubuntu (Net::SSH::AuthenticationFailed:
> George)
>
> I saw on another post that not all keys are recognised by Net::SSH....
>
> How can I check mine I generated with ubuntu gutsy and imported it
> into putty as far as I recall.
>
> I get the same problem on another server as well that has my public
> key and again I can log in fine with Putty / WinScp.
>
> Any help greatly appreciated as I have spent quite a long time messing
> around.
>
> Cheers
> Giorgio
>
>
> >


--~--~---------~--~----~------------~-------~--~----~
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