I have a SSH disconnection problem, disconnection occurs randomly. Sometimes, it works fine and other times I am frequently disconnected. After the disconnection I can again re-connect and continue to work.
Between the client to destination server ssh connectivity the flow is like this:
Client (C1) -> Intermediate Server (I) -> Destination Server (R1) (Windows/Linux) -> (Linux + OpenVPN/IPTables) -> (Linux) Routing from Client C1 to destination server R1always happens through intermediate server I.
With Wireshark, I could see the RST packets I'm getting whenever I have a disconnection issue. Wireshark logs on C1 shows R1 is sending RST tcp pakets whenever I get a disconnection problem.
What could be causing this issue?