Account Options

  1. Sign in
Google Groups Home
« Groups Home
Permission denied (publickey,keyboard-interactiv e).
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  4 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
jared  
View profile  
 More options Oct 16 2007, 5:28 pm
From: jared <jared.mo...@gmail.com>
Date: Tue, 16 Oct 2007 14:28:39 -0700
Local: Tues, Oct 16 2007 5:28 pm
Subject: [err] Permission denied (publickey,keyboard-interactive).
I just upgraded to cap 2, and I'm getting the following error when
trying to deploy:

$ cap staging deploy
  * executing `staging'
    triggering start callbacks for `deploy'
  * executing `deploy'
  * executing `deploy:update'
 ** transaction: start
  * executing `deploy:update_code'
  * executing "svn checkout -q  -r392 svn+ssh://myproject.com/repos/
myproject /var/www/apps/dev.myproject.com/releases/20071016185844 &&
(echo 392 > /var/www/apps/dev.myproject.com/releases/20071016185844/
REVISION)"
    servers: ["myproject.com"]
    [myproject.com] executing command
 ** [err] Host key verification failed.
 ** [err] svn: Connection closed unexpectedly
    command finished
*** [deploy:update_code] rolling back
  * executing "rm -rf /var/www/apps/dev.myproject.com/releases/
20071016185844; true"
    servers: ["myproject.com"]
    [myproject.com] executing command
    command finished
command "svn checkout -q  -r392 svn+ssh://myproject.com/repos/
myproject /var/www/apps/dev.myproject.com/releases/20071016185844 &&
(echo 392 > /var/www/apps/dev.myproject.com/releases/20071016185844/
REVISION)" failed on myproject.com

So it seems there's a problem with my ssh login, but

1) I'm not telling it to use an ssh key, it seems like it should be
prompting me for a password, so I tried adding ssh_options[:keys] =
%w(/Users/[myusername]/.ssh/id_rsa), but got the same error.  Next I
tried deleting my authorized_keys entry on the remote server, after
which I did get prompted for a password twice, but the same error
comes up.

2) I have no problem logging in to ssh and running the checkout
command from the console

What am I missing?

Thanks.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Discussion subject changed to "[err] Permission denied (publickey,keyboard-interactiv e)." by Jamis Buck
Jamis Buck  
View profile  
 More options Oct 16 2007, 5:30 pm
From: Jamis Buck <ja...@37signals.com>
Date: Tue, 16 Oct 2007 15:30:27 -0600
Local: Tues, Oct 16 2007 5:30 pm
Subject: Re: [Capistrano] [err] Permission denied (publickey,keyboard-interactive).

See if adding the following line makes any difference:

   default_run_options[:pty] = true

- Jamis

On Oct 16, 2007, at 3:28 PM, jared wrote:

  smime.p7s
3K Download

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Discussion subject changed to "Permission denied (publickey,keyboard-interactiv e)." by jared
jared  
View profile  
 More options Oct 16 2007, 9:19 pm
From: jared <jared.mo...@gmail.com>
Date: Tue, 16 Oct 2007 18:19:37 -0700
Local: Tues, Oct 16 2007 9:19 pm
Subject: Re: [err] Permission denied (publickey,keyboard-interactive).
Added that line and everything ran fine, thanks a lot for the
response.

Is this something I should add to all my recipes, or can you offer
some wisdom on why this happened/how to avoid it in the future?

Thanks Again!

On Oct 16, 2:30 pm, Jamis Buck <ja...@37signals.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Discussion subject changed to "[err] Permission denied (publickey,keyboard-interactiv e)." by Jamis Buck
Jamis Buck  
View profile  
 More options Oct 16 2007, 9:49 pm
From: Jamis Buck <ja...@37signals.com>
Date: Tue, 16 Oct 2007 19:49:03 -0600
Local: Tues, Oct 16 2007 9:49 pm
Subject: Re: [Capistrano] Re: [err] Permission denied (publickey,keyboard-interactive).

Prior to 2.1, Capistrano would always allocate a "pseudo-tty" (or  
pty) for every command it ran. This allowed commands that did  
windowing stuff (e.g., via curses and friends) to query things like  
the size of their window and so forth. However, it also meant that  
when you ran a command via Capistrano, it would run in an environment  
where your .profile (or .bashrc, or whatever) was not automatically  
loaded.

With cap 2.1, I removed the auto-allocation of the pty, with the  
effect that now people's .profile files will be autoloaded for every  
command.

Alas, the side effect is that some commands, in some environments,  
will apparently not prompt or run correctly when executed in the  
absence of a pty. :( I may need to do a follow-up release soon that  
makes the pty allocation the default, and allows you to disable it if  
you want.

- Jamis

On Oct 16, 2007, at 7:19 PM, jared wrote:

  smime.p7s
3K Download

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »