Why it's blowing up isn't because of ssh

set :deploy_to, '/var/www/#{application}'
set :current, '#{deploy_to}/current'

Your quoting of strings is incorrect. 

Using single quotes creates a non-interpolated string. 
It's setting the variable to that literal string. 

Use double-quotes instead. 



On Feb 4, 2013, at 5:52 PM, Cândido Sales Gomes <[email protected]> wrote:

> Gentlemen,
> 
> When I try to make a connection with capistrano on my EC2 presents this 
> error: https://gist.github.com/candidosales/4698593
> 
> My deploy.rb: https://gist.github.com/candidosales/4710703
> 
> When I created the SSH to connect to Github and my local machine to the EC2 
> not used password or passphrase.
> 
> I can connect my machine to the server with: ssh [email protected]
> 
> Have copied my id_rsa.pub to EC2: cat ~ / .ssh / id_rsa.pub | ssh-i ~ / 
> .ec2/midiaexterna-ec2.pem [email protected] "cat >> .ssh / authorized_keys"
> 
> Please, somebody help me 2 weeks try to make a simple connection with 
> capistrano.
> 
> Thank you!
> -- 
> -- 
> * 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.com/group/capistrano?hl=en
> --- 
> You received this message because you are subscribed to the Google Groups 
> "Capistrano" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected].
> For more options, visit https://groups.google.com/groups/opt_out.
>  
>  

-- 
-- 
* 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.com/group/capistrano?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Capistrano" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to