password prompt

126 views
Skip to first unread message

badnaam

unread,
Sep 29, 2010, 6:37:33 PM9/29/10
to Capistrano
Capistrano keeps asking me for password for every deplyoyment. How do
I not let it happen?

ruby version 1.8.7 REE

capistrano version 2.5.19

Here is my capfile and directory permissions.

http://pastie.org/1189919

badnaam

unread,
Sep 29, 2010, 6:42:04 PM9/29/10
to Capistrano
This happens during this step..

Everything up-to-date
** transaction: start
* executing `deploy:update_code'
updating the cached checkout on all servers
executing locally: "git ls-remote g...@github.com:username/
app_name.git master"
* executing "if [ -d /var/www/app_name/shared/cached-copy ]; then
cd /var/www/app_name/shared/cached-copy && git fetch -q origin && git
reset -q --hard 5d47453e28385200daa971ca4982632caf7fb67e && git clean -
q -d -x -f; else git clone -q g...@github.com:username/app_name.git /
var/www/app_name/shared/cached-copy && cd /var/www/app_name/shared/
cached-copy && git checkout -q -b deploy
5d47453e28385200daa971ca4982632caf7fb67e; fi"
servers: ["1xx.2xx.xxx.xxx"]
Password:
[173.230.158.13] executing command
command finished

Tim Stackhouse

unread,
Sep 29, 2010, 6:54:44 PM9/29/10
to capis...@googlegroups.com
This may sound like a silly question, but do you have your SSH keys
set up? See this page:
http://www.capistranorb.com/index.php?title=Getting_Started Third
bullet under "Assumptions"

Hope this helps,
-Tim Stackhouse

We can only see a short distance ahead, but we can see plenty there
that needs to be done.  --Alan Turing, 1950

> --
> * You received this message because you are subscribed to the Google Groups "Capistrano" group.
> * To post to this group, send email to capis...@googlegroups.com
> * To unsubscribe from this group, send email to capistrano+...@googlegroups.com For more options, visit this group at http://groups.google.com/group/capistrano?hl=en

Krikis

unread,
Oct 26, 2010, 3:23:22 AM10/26/10
to Capistrano
Use the git read-only url (git://github.com/user_name/app_name.git)
instead of git@xxxxxxxxxx:username/app_name.git
Maybe you found this out already.

Cheers,

Krikis

On Sep 30, 12:42 am, badnaam <asitkmis...@gmail.com> wrote:
> This happens during this step..
>
> Everything up-to-date
>  ** transaction: start
>   * executing `deploy:update_code'
>     updating the cached checkout on all servers
>     executing locally: "git ls-remote g...@github.com:username/
> app_name.git master"
>   * executing "if [ -d /var/www/app_name/shared/cached-copy ]; then
> cd /var/www/app_name/shared/cached-copy && git fetch -q origin && git
> reset -q --hard 5d47453e28385200daa971ca4982632caf7fb67e && git clean -
> q -d -x -f; else git clone -q g...@github.com:username/app_name.git /
> var/www/app_name/shared/cached-copy && cd /var/www/app_name/shared/
> cached-copy && git checkout -q -b deploy
> 5d47453e28385200daa971ca4982632caf7fb67e; fi"
>     servers: ["1xx.2xx.xxx.xxx"]Password:
>     [173.230.158.13] executing command
>     command finished
>
> On Sep 29, 3:37 pm, badnaam <asitkmis...@gmail.com> wrote:
>
>
>
>
>
>
>
> > Capistrano keeps asking me forpasswordfor every deplyoyment. How do
Reply all
Reply to author
Forward
0 new messages