Hello,

After configuring my deploy.rb file, when I try to deploy with cap
deploy:setup, I have this message :


  * executing `deploy:setup'
  * executing "umask 02 && mkdir -p /home/hoksitan/webapps/uneterre-
desvins /home/hoksitan/webapps/uneterre-desvins/releases /home/
hoksitan/webapps/uneterre-desvins/shared /home/hoksitan/webapps/
uneterre-desvins/shared/system /home/hoksitan/webapps/uneterre-desvins/
shared/log /home/hoksitan/webapps/uneterre-desvins/shared/pids"
    servers: ["uneterre-desvins.com"]
Password:
connection failed for: uneterre-desvins.com
(Net::SSH::AuthenticationFailed: hoksitan)"


I don't understand why I can't be authenticated because when I commit
my changes by SVN with the same protocol between my Mac and the prod
server, I didn't have any problem, the commit is OK (svn info is OK
too).

Here is the beginning of my deploy.rb file :


# General configuration settings, required for all recipes!
set :application, "uneterre-desvins"
set :domain, "uneterre-desvins.com"
set :group, "devs"
set :user, "hoksitan"

#ssh_options[:keys] = "/home/hoksitan/.ssh/authorized_keys"
#ssh_options[:port] = 22

set :scm_username, "hoksitan"
set :scm_password, Proc.new { Capistrano::CLI.password_prompt('SVN
Password : ') }

set :repository, "svn+ssh://[EMAIL PROTECTED]/var/svn/#{application}"
set :deploy_to, "/home/hoksitan/webapps/#{application}"
#set :deploy_via,   :export

#set :config_files, %w()

role :web, domain
role :app, domain
role :db, domain, :primary => true


I read a lot of discussions on the web. I'm not sure but maybe this is
a problem of shell between the mac and freeBSD ? Notice that I
configure the shell FreeBSD prod server as the BASH, like my mac... Or
a problem with SSH config on the 2 platforms ?

Thanks


--~--~---------~--~----~------------~-------~--~----~
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/capistrano
-~----------~----~----~----~------~----~------~--~---

Reply via email to