Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

leewilmott

Hi Martin,
Many thanks for your reply.
I'm not using OpenSSH on the server, I am using a commercial product (Tectia Server v6.6.2).
For reasons which I cannot explain I cannot recreate this issue – it now appears to be working without issue!
Sorry for messing you about!
Lee
leewilmott

WinSCP 6.3.3: Intermittent Connection Issues

I have recently added an ED25519 Hostkey to my SFTP Server. After adding it I tried to test it by connecting to my server using WinSCP v6.3.3.

I received the following error:
Remote side sent SSH2_MSG_EXT_INFO not either preceded by NEWKEYS or followed by USERAUTH_SUCCESS

I have the option to 'Reconnect', which I do...and after several attempts it connects successfully. Sometimes I connect and I don't get the error at all.

I have connected using an alternative SFTP client (OpenSSH on Windows 11) and I don't seem to get this error at all.

Please find below an extract from my WinSCP Log.
. 2024-05-07 15:42:25.511 Host key fingerprint is:
. 2024-05-07 15:42:25.511 ssh-ed25519 255 SHA256:<hidden>
. 2024-05-07 15:42:25.511 Verifying host key ssh-ed25519 <hidden> with fingerprints ssh-ed25519 255 SHA256:<hidden>, ssh-ed25519 255 <hidden>
. 2024-05-07 15:42:25.527 Host key matches cached key
. 2024-05-07 15:42:25.527 Initialised AES-256 SDCTR (AES-NI accelerated) [aes256-ctr] outbound encryption
. 2024-05-07 15:42:25.527 Initialised HMAC-SHA-256 outbound MAC algorithm
. 2024-05-07 15:42:25.527 Detected network event
. 2024-05-07 15:42:25.527 Waiting for the server to continue with the initialization
. 2024-05-07 15:42:25.527 Initialised AES-256 SDCTR (AES-NI accelerated) [aes256-ctr] inbound encryption
. 2024-05-07 15:42:25.527 Initialised HMAC-SHA-256 inbound MAC algorithm
. 2024-05-07 15:42:25.622 Detected network event
. 2024-05-07 15:42:25.622 Waiting for the server to continue with the initialization
. 2024-05-07 15:42:25.622 Remote side sent SSH2_MSG_EXT_INFO not either preceded by NEWKEYS or followed by USERAUTH_SUCCESS
. 2024-05-07 15:42:25.622 Attempt to close connection due to fatal exception:
* 2024-05-07 15:42:25.622 Remote side sent SSH2_MSG_EXT_INFO not either preceded by NEWKEYS or followed by USERAUTH_SUCCESS
. 2024-05-07 15:42:25.622 Closing connection.
* 2024-05-07 15:42:25.669 (EFatal) Remote side sent SSH2_MSG_EXT_INFO not either preceded by NEWKEYS or followed by USERAUTH_SUCCESS
* 2024-05-07 15:42:25.669 Authentication failed.

Any help would be appreciated!
Kind regards,
Lee