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


View this message in rfc822 format

From: 孙曙光(Sun Shuguang) <shuguang.sun <at> zaiming.com>
To: Michael Albinus <michael.albinus <at> gmx.de>
Cc: "75746 <at> debbugs.gnu.org" <75746 <at> debbugs.gnu.org>, Shuguang Sun <shuguang79 <at> qq.com>
Subject: bug#75746: 31.0.50; Can't get password promote from plink 0.82
Date: Mon, 27 Jan 2025 01:35:40 +0000

> 
> 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.
> 

For command with `-l username`, the output is ` username <at> 192.168.x.x's password:`.
For command without `-l username` the output is ` login as:`.

It is the same with or without the "&& exit || exit" tail.

> > Best Regards,
> > Shuguang
> 
> Best regards, Michael.

BR
Shuguang


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.