Open mgutt opened 3 months ago
Does the reference ssh implementation, OpenSSH, behave differently than SFTPGo?
We provide support for edge cases like this to our Enterprise plan subscribers, but feel free to submit a PR, we'll do our best to review even though we don't have access to an AIX system
Does ... OpenSSH, behave differently
Regarding this question I would say no (or some versions of OpenSSH accept it, while others don't).
⚠️ This issue respects the following points: ⚠️
Bug description
A remote server (environment unknown) tries to connect to SFTPGo with SSH Key, but after the client sends a packet of type 106, the server closes the connection.
Steps to reproduce
The foreign user send me his verbose log:
The SFTPGo server logged:
Regarding here, this type is non-standard produced by "IBM AIX": https://superuser.com/a/1457492/129262
And can be solved as follows: ~/.ssh/config, use: AllowPKCS12keystoreAutoOpen no
The "bug" in this scenario could is this quote:
So SFTPGo should not close the connection, instead it should return the answer, that this message type is not supported?!
Expected behavior
Not sure, maybe only answering that the ssh message type is not supported while leaving the connection intact.
SFTPGo version
2.6.2
Data provider
sqlite
Installation method
Community Deb package
Configuration
No relevant changes
Relevant log output
No response
What are you using SFTPGo for?
Private user, home usecase (home backup/VPS), Medium business
Additional info
sftpgo -v
SFTPGo 2.6.2-636a1c2c-2024-06-21T17:21:25Z +metrics +azblob +gcs +s3 +bolt +mysql +pgsql +sqlite -unixcrypt +portable