logo       

Re: Capistrano 2.0.0 => 2.1.0 no prompt for SSH password, non-root user ca: msg#00151

lang.ruby.capistrano.general

Subject: Re: Capistrano 2.0.0 => 2.1.0 no prompt for SSH password, non-root user can't run "cap" at all


I have tried with

default_run_options[:pty] = true

and activating

#
=============================================================================
# SSH OPTIONS
#
=============================================================================
# ssh_options[:keys] = %w(~/.ssh/id_rsa)
# ssh_options[:port] = 25
ssh_options[:verbose] = :debug


with no results at all.


On Nov 22, 11:55 pm, VPC
<victorpablosceru...-Re5JQEeQqe8AvxtiuMwx3w@xxxxxxxxxxxxxxxx> wrote:
> Hi.
>
> I'm using next options, and I found that capistrano doesn't asks me
> for the svn password, so it can't log into the svn account and
> download the updates.
> How can I do it?
>
> Thanks in advance.
>
> #
> =============================================================================
> # SVN OPTIONS
> #
> =============================================================================
> set :svn_user, ENV['svn_user'] ||
> Proc.new { Capistrano::CLI.password_prompt('SVN User: ') }
> set :svn_password, Proc.new { Capistrano::CLI.password_prompt('SVN
> Password: ') }
> set :repository,
> "svn+ssh://#{svn_us...-fc2yyuIZbynPvaDv0MAzMN7lo5+wdyHW@xxxxxxxxxxxxxxxx/srv/svn/ggcc-questionnaire/
> trunk"
> # Proc.new { "--username #{svn_user} " +
> # "--password #{svn_password} " +
> # "http://your.domain.tld/path/to/svn/#{application}/
> trunk/" }


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise