OpenSSH_9.2p1 sftp prompt now "s " instead of "sftp> "
Corinna Vinschen
corinna-cygwin@cygwin.com
Wed Feb 8 15:37:02 GMT 2023
On Feb 8 11:12, Corinna Vinschen via Cygwin wrote:
> On Feb 8 07:59, Thomas Wolff via Cygwin wrote:
> >
> >
> > Am 08.02.2023 um 03:17 schrieb Brian Inglis via Cygwin:
> > > On 2023-02-07 15:22, Voris, Ben via Cygwin wrote:
> > > > For example:
> > > > : sftp user@127.0.0.1
> > > > Connected to 127.0.0.1.
> > > > s bye
> > > > : type sftp
> > > > sftp is hashed (/usr/bin/sftp)
> > > > : ssh -V
> > > > OpenSSH_9.2p1, OpenSSL 1.1.1s 1 Nov 2022
> > > > On Linux with a much older ssh:
> > > > : ssh -V
> > > > OpenSSH_8.2p1 Ubuntu-4ubuntu0.5, OpenSSL 1.1.1f 31 Mar 2020
> > > > : sftp user@127.0.0.1
> > > > Connected to 127.0.0.1.
> > > > sftp> bye
> > > > Windows 10 21H2. This occurs both using Mintty and Windows Terminal.
> > > > For what I do, the only issue is the prompt.
> > >
> > > ++
> > >
> > Yes, it sends s^[[7G^D, which is really weird.
>
> Looks like this occurs in libedit. Downgrading to the former
> version of libedit "fixes" the problem.
You may want to try the new libedit release 2021030-4. Thanks to
Christoph Reiter from the MSYS2 community for pointing out a patch.
Corinna
More information about the Cygwin
mailing list