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

chris.ayers@abmauri.com

WinSCP on Windows 11 with OpenSSH gives "Bad message (badly formatted packet or protocol incompatibi

Hello,

I have a windows server in Azure that I've upgraded to Windows 11, installing the latest OpenSSH distribution. When I connect to the server, I get consistent errors Bad message (badly formatted packet or protocol incompatibility) when browsing some folders.

Its not all folders but its consistent. There does not seem to be any pattern in the errors - large directories, or small directories - the issue seems to be everywhere, but not all folders. After the error WinSCP continues but the folder is empty. If I browse to the disk (using RDP to log-in to the server I can see the folders with no problem.

The SSH config file is a copy of the one that worked fine in Windows 10, and the data disk being browsed is a clone of the data disk in Windows 10, where there is no issue.

I have taken a log of the issue - attached.

I'm using port 4022 on the server and have configured Windows Firewall to allow the connection.

Is there some specific settings for OpenSSH that I need to use in the SSHD_Config file for Windows11. I've tried multiple WinSCP settings (timeouts, character sets) but no difference. I tried downgrading WinSCP but no difference. Now i'm at 6.5.5