GNU bug report logs -
#75746
31.0.50; Can't get password promote from plink 0.82
Previous Next
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 #11 received at 75746 <at> debbugs.gnu.org (full text, mbox):
>
> 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.