Hello!
have you checked if you can login remotely to your server via ssh using root account?
By default login as root from remote host via ssh is prohibited.
Kind regards,
t.
Main Topics
Browse All Topicsi am trying to deploy my app rails hello_world from my svn to ec2 amazon server. i got trouble when excute deploy command:
- 1: i am using ec2 amazon for hosting and server like: ec2-xxx-xxx-xxx-xxx.comput
- 2: i have 1 other server installed subversion (SVN) which store rails app (hello world) use for deploy to ec2 server (svn+ssh://root@yyy.yyy.yy
- 3: first.. on my depvelopment computer, i will excute command :"cap deploy:setup" and it will setup core for app hello_world on ec2 server.
second: i will excute command "cap deploy" to deploy app hello_world from svn server to ec2 server
problem occur here:
--------------------------
* executing `deploy'
* executing `deploy:update'
** transaction: start
* executing `deploy:update_code'
updating the cached checkout on all servers
root@yyy.yyy.yyy.yyy's password:
* executing "if [ -d /usr/hello/shared/cached-c
servers: ["ec2-xxx-xxx-xxx-xxx.comp
[ec2-xxx-xxx-xxx-xxx.compu
** [err] reverse mapping checking getaddrinfo for yyy.yyy.yyy.yyy.com [yyy.yyy.yyy.yyy] failed - POSSIBLE BREAK-IN ATTEMPT!
** [err] Permission denied, please try again.
** [err] Permission denied, please try again.
** [err] Permission denied (publickey,gssapi-with-mic
** [err] svn: Connection closed unexpectedly
command finished
*** [deploy:update_code] rolling back
* executing "rm -rf /usr/hello/releases/200902
servers: ["ec2-xxx-xxx-xxx-xxx.comp
[ec2-xxx-xxx-xxx-xxx.compu
command finished
command "if [ -d /usr/hello/shared/cached-c
--------------------------
i tried to ssh to ec2 server and do command "svn co svn+ssh://root@yyy.yyy.yyy
and it asking for enter password twice times. after that, it 's ok, i think problem in here
addition infor, i can stand on ec2 server to ssh to my svn server contains rails app
and below is deploy.rb file use for deploy.
This question is in progress.
Our experts are working on an answer right now.
Sign up for immediate access to the solution once it becomes available.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Business Accounts
Answer for Membership
by: expertmemeber1Posted on 2009-02-23 at 02:16:58ID: 23709653
ah my ec2 server using fedora core 8, and my svn server using Cent Os... plz help me to figure out how to deploy to ec2 server by getting source app from svn server. thanks