Error code: -2147014842
One potential solution is to enable TCP keepalives in the SSH session settings. This can help maintain the connection by sending periodic packets to prevent timeouts. Additionally, setting a ping interval (e.g., every 30 seconds) can keep the session active. You can find these options under the 'Advanced' tab in your SSH session properties. Adjusting these settings has helped me maintain stable connections.
If the issue persists, it might be beneficial to check the SSH server's configuration for idle timeout settings that could be causing the disconnection.
https://forum.devolutions.net/topics/40002/ssh-login-errorsnow rider
Hope this help!