GNU bug report logs - #2837
23.0.91; tramp: ssh passphrase vs. password

Previous Next

Package: emacs;

Reported by: trentbuck <at> gmail.com

Date: Wed, 1 Apr 2009 00:20:02 UTC

Severity: normal

Done: "Trent W. Buck" <trentbuck <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


Message #15 received at 2837 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: "Trent W. Buck" <trentbuck <at> gmail.com>
To: Michael Albinus <michael.albinus <at> gmx.de>
Cc: 2837 <at> debbugs.gnu.org, rfrancoise <at> debian.org
Subject: Re: bug#2837: 23.0.91; tramp: ssh passphrase vs. password
Date: Wed, 1 Apr 2009 16:19:57 +1100
On Wed, Apr 01, 2009 at 06:59:59AM +0200, Michael Albinus wrote:
> trentbuck <at> gmail.com writes:
> 
> > Just now I tried to open /ssh:dhcp98:/ and it asked me for "dhcp98's
> > password".  It *should* have asked me for the passphrase for one of my
> > SSH keys (id_rsa).  This either means that the prompt is misleading
> > (i.e. it wants my passphrase) or worse, that it genuinely wants to use
> > password-based authentication (i.e. ignoring my key).
> 
> Tramp tries to find out, whether it shall ask for the "password" or the
> "passphrase". It checks ssh's prompt for this.
> 
> What does ssh asks you, if you apply "ssh dhcp98" from a shell?

I'm using OpenSSH and an ssh-agent is running, and Emacs can see that
agent.  When I have not used ssh-add, I see this:

$ ssh dhcp98
Enter passphrase for key '/home/twb/.ssh/id_rsa':




This bug report was last modified 16 years and 57 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.