I have followed the following tutorial:
http://www.hostingrails.com/forums/wiki_thread/59
in deploy.rb I had to comment out to make it work:
default_run_options[:pty] = true
and set the domain to ip I got in my mail.
set :domain, "74.63.***"
but still, when I make the last step:
cap deploy:cold
it produces errors.
here is what I get:
_______________
cap deploy:cold
* executing `deploy:cold'
* executing `deploy:update'
** transaction: start
* executing `deploy:update_code'
my_account_name@74.63***'s password:
* executing "git clone -q --depth 1 my_account_name@74.63***:/home/my_account_name/git/my_app /home/my_account_name/apps/my_app/releases/20080815062754 && cd /home/my_account_name/apps/my_app/releases/20080815062754 && git checkout -q -b deploy 0d0f5f39dca159cbe325d7a8ee15d8999e767732 && (echo 0d0f5f39dca159cbe325d7a8ee15d8999e767732 > /home/my_account_name/apps/my_app/releases/20080815062754/REVISION)"
servers: ["74.63***"]
Password:
[74.63***] executing command
** [74.63*** :: err] Permission denied, please try again.
** [74.63*** :: err] Permission denied, please try again.
** [74.63*** :: err] Permission denied (publickey,gssapi-with-mic,password).
** [74.63*** :: err] fatal: The remote end hung up unexpectedly
** [74.63*** :: err] fetch-pack from 'my_account_name@74.63***:/home/my_account_name/git/my_app' failed.
command finished
* executing `deploy:finalize_update'
* executing "chmod -R g+w /home/my_account_name/apps/my_app/releases/20080815062754"
servers: ["74.63***"]
[74.63***] executing command
*** [err :: 74.63***] chmod: cannot access `/home/my_account_name/apps/my_app/releases/20080815062754': No such file or directory
command finished
....
__________________
Seems like it does not allow me to access /home/my_account_name/git/my_app on the server.
But if I ssh to the server I am able to ssh again from the server the same server.