Rubber and Amazon EC2 hosting issue (Net::SSH::AuthenticationFailed: root)

无人久伴 提交于 2019-12-13 14:32:10

问题


I want to host my ruby on rails application on Amazon EC2 server. I am following Rubber and Amazon EC2 railcast on Ubuntu. When I execute cap rubber:create_staging command, its showing error something like this --

* 2013-06-19 17:00:53 executing `rubber:setup_remote_aliases'
servers: ["production.ginfy.com", "www.ginfy.com", "foo.ginfy.com", "ginfy.ginfy.com", "temple.ginfy.com", "ibetter.ginfy.com"]
connection failed for: www.ginfy.com (Timeout::Error: execution expired), ibetter.ginfy.com (Timeout::Error: execution expired), temple.ginfy.com (Timeout::Error: execution expired), ginfy.ginfy.com (Timeout::Error: execution expired), production.ginfy.com (Net::SSH::AuthenticationFailed: root)

I already check google group and github issue regarding this issue, but nothing worked for me.

Any idea Why I am getting this error? I can't figure out problem. Please help.

UPDATE :

I successfully hosted my rails application on Amazon. Now I want to know that How to run seeds.rb on Amazon. Is there any way to open console on Amazon ?

Here I mentioned my problem - How to run seed.rb file on Amazon ec2 [Solved]


回答1:


Yep!! Amazon Ruby on Rails hosting done. Now its working fine. Rubber is not worked for me.

I am using Elastic Beanstalk (eb) for hosting by following this tutorial

http://docs.aws.amazon.com/elasticbeanstalk/latest/dg/create_deploy_Ruby_rails.html

Its very easy to integrate and fast in deployment also :)



来源:https://stackoverflow.com/questions/17188460/rubber-and-amazon-ec2-hosting-issue-netsshauthenticationfailed-root

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!