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"]
Password:
Password:
Password:
*** [update_code] transaction: rollback
  * [update_code] rolling back
  * executing "rm -rf /home/publish/myproject/releases/20080819063844"
    servers: ["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'
-- 
Posted via http://www.ruby-forum.com/.