GNU bug report logs - #75746
31.0.50; Can't get password promote from plink 0.82

Previous Next

Package: emacs;

Reported by: 孙曙光(Sun Shuguang) <shuguang.sun <at> zaiming.com>

Date: Wed, 22 Jan 2025 07:49:02 UTC

Severity: normal

Found in version 31.0.50

Fixed in version 30.2

Done: Michael Albinus <michael.albinus <at> gmx.de>

Bug is archived. No further changes may be made.

Full log


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

From: Michael Albinus <michael.albinus <at> gmx.de>
To: (Sun Shuguang) <shuguang.sun <at> zaiming.com>
Cc: 75746 <at> debbugs.gnu.org, Shuguang Sun <shuguang79 <at> qq.com>
Subject: Re: bug#75746: 31.0.50; Can't get password promote from plink 0.82
Date: Sun, 26 Jan 2025 10:00:11 +0100
(Sun Shuguang) <shuguang.sun <at> zaiming.com> writes:

> Dear,

Hi Shuguang,

> Emacs (31.0.50, UCRT) can't get the promote for password (and user) from plink 0.82 and pre-release 0.83 in Windows. So that Tramp using plink from windows will not work.
>
> - Emacs -q
> - shell (cmd)
> - plink -l username -P 22 -ssh -t 192.168.x.x " env 'TERM=dumb' 'PROMPT_COMMAND=' 'PS1=#$ ' /bin/sh " && exit || exit
>   The shell echo the username and wait and wait.
> - plink -P 22 -ssh -t 192.168.x.x " env 'TERM=dumb' 'PROMPT_COMMAND=' 'PS1=#$ ' /bin/sh " && exit || exit
>   The shell has no echo and wait and wait.
>
> In Tramp, it falls into the loop of waiting for promote of password.

Could you pleas show the output of the two commands in a cmd.exe window?
With and without the "&& exit || exit" tail.

> Best Regards,
> Shuguang

Best regards, Michael.




This bug report was last modified 94 days ago.

Previous Next


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