Prompts for password via ssh-askpass multiple times even if canceled

Bug #34283 reported by Joachim Noreiko
10
Affects Status Importance Assigned to Milestone
openssh (Ubuntu)
Invalid
Low
Unassigned

Bug Description

I am using Meld on Breezy, and I am working with the GNOME CVS server.

I make a request such as a diff or an update.
I get a dialog box titled 'OpenSSH', text 'Enter passphrase for key [...]'
I hit cancel.

Instead of cancelling, I get a second dialog: title 'OpenSSH', text '[me@gnome]'s password'.
I hit cancel again.
I get the second dialog two more times before I can get back to what I was doing.

(Originally filed here: http://bugzilla.gnome.org/show_bug.cgi?id=330973 )

Revision history for this message
Björn Torkelsson (torkel) wrote :

How many times do you have to hit enter (without entering any password) if you run cvs update or cvs diff from a terminal?

My guess is that you are asked once for every auth mechanism the host supports, and when hitting cancel it tries the next auth mechanism. I.e hitting cancel is not canceling the whole operation but canceling authentication with the current mechanism.

Revision history for this message
Matt Zimmerman (mdz) wrote :

It seems normal to get two dialogs, but the report claims a total of 4, which is unreasonable

Revision history for this message
Erik Meitner (e.meitner) wrote :

I get one dialog for each SSH key I have that has a passphrase set.
At this time I get two dialogs because both my RSA and DSA keys are passphrase protected.

Revision history for this message
Nicolas Valcarcel (nvalcarcel) wrote :

Is this bug still present?

Revision history for this message
Joachim Noreiko (jnoreiko) wrote :

I can't get Meld to work on 7.10, so I don't know.

Revision history for this message
Nicolas Valcarcel (nvalcarcel) wrote :

Closing this bug, if it still present reopen it please.

Changed in openssh:
status: New → Incomplete
Revision history for this message
Joachim Noreiko (jnoreiko) wrote :

Yes, this still happens on 7.10.

Not sure if I have the ability to reopen though...

Revision history for this message
Parthan SR (parth-technofreak) wrote :

Changing status to New on request.

Changed in openssh:
status: Incomplete → New
Revision history for this message
Joachim Noreiko (jnoreiko) wrote :

>How many times do you have to hit enter (without entering any password) if you run cvs update or cvs diff from a terminal

Here's my output:

joachim@ubuntu:~/source/gedit$ svn update
Enter passphrase for key '/home/joachim/.ssh/id_rsa':
<email address hidden>'s password:
Permission denied, please try again.
<email address hidden>'s password:
Permission denied, please try again.
<email address hidden>'s password:
Permission denied (publickey,password).
svn: Connection closed unexpectedly
joachim@ubuntu:~/source/gedit$

Obviously, since this bug was filed it's now svn instead of cvs...

Revision history for this message
Chuck Short (zulcss) wrote :

Hi,

I was wondering if this is still a problem for you on Karmic?

Regards
chuck

Changed in openssh (Ubuntu):
status: New → Incomplete
Revision history for this message
Chuck Short (zulcss) wrote :

We are closing this bug report because it lacks the information we need to investigate the problem, as described in the previous comments. Please reopen it if you can give us the missing information, and don't hesitate to submit bug reports in the future. To reopen the bug report you can click on the current status, under the Status column, and change the Status back to "New". Thanks again!

Changed in openssh (Ubuntu):
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.