Had this same problem, change your :db variable to www.yoursite.com,
instead of db.yoursite.com.

The variable actually refers to where migrations for the db are run
from, not where the db actually lives (ie: database.yml).
With a shared host -- typically its all the same server.




On Sun, Jun 8, 2008 at 7:30 AM, Tarscher <[EMAIL PROTECTED]> wrote:
>
> Hi all,
>
> I try to deploy to a dreamhost account but get a
> Net::SSH::AuthenticationFailed
>
> When I use cap deploy:cold I get a Net::SSH::AuthenticationFailed). I
> have set the username and password in my deploy.rb
> set :user, 'xxx'
> set :password, 'xxx'
>
> Someone knows what goes wrong?
>
> Thanks
> Stijn
>
>  * executing `deploy:cold'
>  * executing `deploy:update'
>  ** transaction: start
>  * executing `deploy:update_code'
>  * executing "svn export -q --username user --password pass --no-auth-
> cache  -r6 http://svn.topvolleyantwerpen.be/code /home/user/
> www.domain.be/releases/2008060
>    servers: ["mysql.domain.be", "www.domain.be"]
> Password:
> *** [deploy:update_code] rolling back
>  * executing "rm -rf /home/user/www.domain.be/releases/
> 20080608141334; true"
>    servers: ["mysql.domain.be", "www.domain.be"]
>  ** [deploy:update_code] exception while rolling back:
> Capistrano::ConnectionError, connection failed for: mysql.domain.be
> (Net::SSH::AuthenticationFailed: user)
> connection failed for: mysql.domain.be
> (Net::SSH::AuthenticationFailed: tarscher)
>
> >
>



-- 
Anthony Ettinger
408-656-2473
http://anthony.ettinger.name

--~--~---------~--~----~------------~-------~--~----~
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