Hello,
Those last days, I am getting a LOT of “Remote side unexpectedly closed network connection” errors in my WinSCP client, when attempting to connect by SFTP to websites I host on my dedi (Debian 10, virtualmin, webmin).
The connection gets eventually done, but sometimes it will work on the first attempt, some other times on the 6th, see the idea?
I would very much like to investigate what may cause it, unfortunately, I don’t find where this kind of event appears to be logged. I searched for my IP in the log files listed in webmin > system > system logs, and nothing relevant came up.
In case my IP is changed or it’s either IPv4 or IPv6 that shows up, I loaded in my web browser a bogus filethatdoesnotexist.jpg on a domain, and found my IP on that domain’s apache error log when searching for filethatdoesnotexist.jpg, so I’m confident I searched the right IP number for me.
All monitored services are up, there’s no bottleneck in the server’s resources (CPU, RAM, disk, etc), so it must be something software-related, thus: something that is logged. I’ve just gotta find where it is logged 
If you can help me with a suggestion or a “duh, it’s logged there (and here’s why your IP wasn’t in there)”, I will be very grateful, thank you!