Yeah my mistake I defined the Public key after messing around with it,
if I specify the private key though I get the following

 ** [server1 :: out] Error reading response length from authentication
socket.
 ** [server1 :: out] Error reading response length from authentication
socket.
 ** [server1 :: out] Error reading response length from authentication
socket.
 ** [server1:: out] Permission denied (publickey).
 ** [server1 :: out] fatal: The remote end hung up unexpectedly
 ** [server1 :: out] Permission denied (publickey).
 ** [server1 :: out] fatal: The remote end hung up unexpectedly
 ** [server :: out] Permission denied (publickey).
 ** [server :: out] fatal: The remote end hung up unexpectedly

I specify the key in deploy.rb like so

ssh_options[:keys] = %w(/Users/user/.ssh/id_rsa)

Thanks




On Aug 18, 8:13 pm, Jonathan Weiss <[email protected]> wrote:
> > (OpenSSL::PKey::PKeyError: not a private key (/Users/user/.ssh/
> > id_rsa.pub))
>
> How do you define the ssh_keys in deploy.rb? You only need to point to
> the private key, not the public key.
>
> Jonathan
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Capistrano" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.co.uk/group/capistrano?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to