Description
After upgrading from 2024.2.0 to 2025.0.0, I am receiving the following error:
Renci.SshNet.Common.SshConnectionException: The connection was closed by the server: Failed to read binary packet data! (ProtocolError).
My app connects to sftp.section111.cms.hhs.gov:10022
, but according to FileZilla's output, that's actually psc-t-nlb-xx-lb-v02-10f9bb095377905b.elb.us-east-1.amazonaws.com
. My code has zero configuration on the connection, so maybe there's something I need to add? It's just:
var sftp = new SftpClient("sftp.section111.cms.hhs.gov", 10022, _config.MmseaSftpUsername, _config.MmseaSftpPassword);
sftp.Connect();
Likewise, in FileZilla I just set a username, PW, server, & port as an SFTP connection with everything else set to defaults. I reverted my app back to SSH.NET 2024.2.0 and the connection works fine.
I noticed this issue from two years ago could possibly be related? #1199 I am not the host of the SFTP site, CMS is, so I can't provide much info on their servers other than that appear to be using AWS.