# CAP DEPLOY problem

**URL:** <https://www.ruby-forum.com/t/cap-deploy-problem/146226>\
**Category:** Ruby\
**Created:** [August 19, 2008, 9:08am UTC](https://www.ruby-forum.com/t/cap-deploy-problem/146226 "2008-08-19T09:08:29Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![palani](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/ed655f/32.png) [@palani](https://www.ruby-forum.com/u/palani)\
**Post date:** [August 19, 2008, 9:08am UTC](https://www.ruby-forum.com/t/cap-deploy-problem/146226/1 "2008-08-19T09:08:29Z")

</div>

Any one please help me to solve the problem.when i try to the cap  
deploy it doesn’t work. It ask the password 3 times. even i gave the  
correct password it throws the error. Here is the output i faced when i  
try to deploy.

[guest@localhost stage]$ RAILS\_ENV=stage cap deploy

- executing task deploy
- executing task update  
\*\* transaction: start
- executing task update\_code
- querying latest revision…
- executing “if [[ ! -d  
/home/publish/myproject/releases/20080819063844 ]]; then\n  
svn co --no-auth-cache --username publish --password pu5h-1t-up -q  
-r6406 svn://dev.myproject.com/branches/stage  
/home/publish/myproject/releases/20080819063844 &&\n (test  
-e /home/publish/myproject/revisions.log || (touch  
/home/publish/staging/revisions.log && chmod 666  
/home/publish/staging/revisions.log)) && echo `date +\"%Y-%m-%d %H:%M:%S\"` $USER 6406 20080819063844 \>\>  
/home/publish/myproject/revisions.log;\n fi”  
servers: [“[sdev.myproject.com](http://sdev.myproject.com)”]  
Password:  
Password:  
Password:  
\*\*\* [update\_code] transaction: rollback
- [update\_code] rolling back
- executing “rm -rf /home/publish/myproject/releases/20080819063844”  
servers: [“[sdev.myproject.com](http://sdev.myproject.com)”]  
Password:  
Password:  
\*\* [update\_code] exception while rolling back:  
Net::SSH::AuthenticationFailed,  
port22auth\_methodspasswordkeyboard-interactivekeys/home/guest/.ssh/stageusernamepublishpassword  
authentication failed for  
`port22auth\_methodspasswordkeyboard-interactivekeys/home/guest/.ssh/stageusernamepublishpassword’

---

<div class="post-metadata">

**Author:** ![palani](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/ed655f/32.png) [@palani](https://www.ruby-forum.com/u/palani)\
**Post date:** [August 20, 2008, 7:27am UTC](https://www.ruby-forum.com/t/cap-deploy-problem/146226/2 "2008-08-20T07:27:34Z")

</div>

On Tuesday 19 August 2008 02:05:04 Palani K. wrote:

> Any one please help me to solve the problem.when i try to the cap  
> deploy it doesn’t work.

This is probably better asked on the Capistrano Google Group.
