Skip to content

OpenSSH_8.0p1 cygwin known_hosts generation issue #525

Description

@userdocs

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)?"))

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions