Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

cap deploy

 
Suganya Ram
Greenhorn
Posts: 18
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
When am trying to do "cap deploy", it asks for the password.Once i typed the password it asks for again and again.I don't know why this problem occurs? I switched from windows to centos just before two weeks. I used the same in windows, but when am trying to use it in centos am getting this problem.Please help me to overcome this problem.There is no prblem with the password.
 
Arun Gokul
Greenhorn
Posts: 3
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Suganya Ram:
When am trying to do "cap deploy", it asks for the password.Once i typed the password it asks for again and again.I don't know why this problem occurs? I switched from windows to centos just before two weeks. I used the same in windows, but when am trying to use it in centos am getting this problem.Please help me to overcome this problem.There is no prblem with the password.
 
Lasse Koskela
author
Sheriff
Posts: 11962
5
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Maybe you could append your public key to ".ssh/authorized_keys2" at the server(s)? That way you'd get passwordless ssh connections.
 
Suganya Ram
Greenhorn
Posts: 18
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Actually we are using secured ssh. so we need the password to deploy. so we can't go for passwordless ssh connection. Is there anyother way to overcome this problem? why this problem occurs?
 
Lasse Koskela
author
Sheriff
Posts: 11962
5
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Suganya Ram:
Actually we are using secured ssh. so we need the password to deploy. so we can't go for passwordless ssh connection.

I'm not sure what you mean by "secured ssh". SSH is always encrypted. Passwordless SSH simply means that you authenticate with your private key rather than a password. Are we talking about the same thing here?
 
Suganya Ram
Greenhorn
Posts: 18
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This is what the problem i faced in cap deploy.....

****************************************************************
[stage]$ RAILS_ENV=environment cap deploy
* executing task deploy
* executing task update
** transaction: start
* executing task update_code
* querying latest revision...
* executing "if [[ ! -d /home/publish/staging/releases/123456789101213]]; then\n svn co --no-auth-cache --username publish --password pu5h-1t-up -q -r6298 svn://samp.say.com/branches/stage /home/publish/staging/releases/20080731043303 &&\n (test -e /home/publish/staging/revisions.log || (touch /home/publish/staging/revisions.log && chmod 666 /home/publish/staging/revisions.log)) && echo `date +\"%Y-%m-%d %H:%M:%S\"` $USER 6298 20080731043303 >> /home/publish/staging/revisions.log;\n fi"
servers: ["sdev.say.com"]
Password:
Password:
Password:
***************************************************************
 
Don't get me started about those stupid light bulbs.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic