You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We see intermittent instances of users failing SSH negotiation. They don't even get to authentication; the connection fails somewhere in the SSH handshake, and SFTPGo logs a "crypto/rsa: verification error" message. From the client's point of view, the connection drops unexpectedly.
This problem only occurs rarely (<1% of connections for affected users), and doesn't affect all users. I have not been able to identify any common factors among the users that are affected, and there's no sign that the server is hitting connection limits or is experiencing significant load. Users who experience the problem can reconnect successfully the next time they try, but it tends to trip up semi-automated transfers with poor error handling.
Installation method
Community Docker image
SFTPGo version
v2.5.6
Steps to reproduce
Wait for users to connect a significant number of times.
Search the logs for "crypto/rsa: verification error"
Expected behavior
User is able to negotiate the SSH connection and proceed to authentication.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
The great author, @drakkan, seems to be saying that it will be included in the next stable release.
And v2.6.4 contains Bug Fixes that are of interest.
Here is a issues#1750
ーーーーーーーーーーーーーーーーーーーーーーー
Bug description
We see intermittent instances of users failing SSH negotiation. They don't even get to authentication; the connection fails somewhere in the SSH handshake, and SFTPGo logs a "crypto/rsa: verification error" message. From the client's point of view, the connection drops unexpectedly.
This problem only occurs rarely (<1% of connections for affected users), and doesn't affect all users. I have not been able to identify any common factors among the users that are affected, and there's no sign that the server is hitting connection limits or is experiencing significant load. Users who experience the problem can reconnect successfully the next time they try, but it tends to trip up semi-automated transfers with poor error handling.
Installation method
Community Docker image
SFTPGo version
v2.5.6
Steps to reproduce
Expected behavior
User is able to negotiate the SSH connection and proceed to authentication.
Configuration
Relevant log output
failed to accept an incoming connection from ip "xxx.xxx.xxx.xxx": crypto/rsa: verification error
ーーーーーーーーーーーーーーーーーーーーーーー
Beta Was this translation helpful? Give feedback.
All reactions