Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OpenSSH_8.0p1 cygwin known_hosts generation issue #525

Closed
userdocs opened this issue May 7, 2019 · 0 comments
Closed

OpenSSH_8.0p1 cygwin known_hosts generation issue #525

userdocs opened this issue May 7, 2019 · 0 comments

Comments

@userdocs
Copy link

@userdocs userdocs commented May 7, 2019

OS: Windows 10 x64
Platform: Cygwin x64
lftp version 4.8.4 +

I believe there is an issue with the generation of the known_hosts files against OpenSSH 8 at large when using set sftp:auto-confirm yes and then using lftp to connect to a new server.

Works with OpenSSH_7.9p1, OpenSSL 1.0.2r 26 Feb 2019 the confirmation dialogue looks like this.

The authenticity of host '111.111.111.111 (111.111.111.111)' can't be established.
ECDSA key fingerprint is SHA256:SOMEKEY.
Are you sure you want to continue connecting (yes/no)?

Fails with OpenSSH_8.0p1, OpenSSL 1.1.1b 26 Feb 2019 it now looks like this.

The authenticity of host '111.111.111.111 (111.111.111.111)' can't be established.
ECDSA key fingerprint is SHA256:SOMEKEY.
Are you sure you want to continue connecting (yes/no/[fingerprint])?

I believe the problem is this line no longer matching the string:

if(ends_with(b,b+s,"(yes/no)?"))

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant
You can’t perform that action at this time.