This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Other Languages and the fly likes cap deploy Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Languages » Other Languages
Bookmark "cap deploy" Watch "cap deploy" New topic
Author

cap deploy

Suganya Ram
Greenhorn

Joined: Jun 12, 2008
Posts: 18
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.


SuganyaRam
Arun Gokul
Greenhorn

Joined: Jul 02, 2008
Posts: 3
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

Joined: Jan 23, 2002
Posts: 11962
    
    5
Maybe you could append your public key to ".ssh/authorized_keys2" at the server(s)? That way you'd get passwordless ssh connections.


Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
Suganya Ram
Greenhorn

Joined: Jun 12, 2008
Posts: 18
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

Joined: Jan 23, 2002
Posts: 11962
    
    5
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

Joined: Jun 12, 2008
Posts: 18
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:
***************************************************************
 
Consider Paul's rocket mass heater.
 
subject: cap deploy
 
Similar Threads
jmx-console user ID and password
Sun application server domain creation
how to get administrative form on jboss
JBOSS 5.1 cluster configuration on CentOS 5.3 linux
Install weblogic 11g on CentOs