GNU bug report logs - #40820
28.0.50; vc: vc-push requires ssh-askpass to enter key password

Previous Next

Package: emacs;

Reported by: Fredrik Nyqvist <fredn <at> posteo.net>

Date: Fri, 24 Apr 2020 15:47:01 UTC

Severity: normal

Tags: moreinfo

Found in version 28.0.50

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 40820 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Fredrik Nyqvist <fredn <at> posteo.net>
Cc: 40820 <at> debbugs.gnu.org
Subject: Re: bug#40820: 28.0.50; vc: vc-push requires ssh-askpass to enter
 key password
Date: Thu, 22 Oct 2020 16:49:58 +0200
Fredrik Nyqvist <fredn <at> posteo.net> writes:

> 0. To get the error message at step 6, make sure that ssh-askpass is
> not installed on the system.
> 1. Start Emacs emacs -Q
> 2. Edit a version controlled file (in this case git is used)
> 3. Do vc-next-action (C-x v v)
> 4. Enter a commit message and then press: C-c C-c
> 5. Try to push the file: C-x v P
> 6. Emacs now tries to launch ssh-askpass to enter the password. An error
> message will be shown if ssh-askpass is not installed on the system:
>
> ssh_askpass: exec(/usr/bin/ssh-askpass): No such file or directory

I don't think Emacs calls ssh-askpass directly -- it just leaves all
that stuff up to the OS setup, I think?

In any case, I was unable to reproduce this on Debian, presumably
because there's a lot of passphrase caching going on.  Without it I'm
just getting:

Running "git push"...
git <at> github.com: Permission denied (publickey).^M
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

So do you have a more complete recipe for how to reproduce this bug?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




This bug report was last modified 4 years and 263 days ago.

Previous Next


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