• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

cap deploy

 
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.

 
author
Posts: 11962
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Posts: 11962
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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:
***************************************************************
reply
    Bookmark Topic Watch Topic
  • New Topic