Closed Nils98Ar closed 4 months ago
The upstream side sshd only logs:
sshd[706]: pam_unix(sshd:session): session closed for user user-dest
sshd[678]: syslogin_perform_logout: logout() returned an error
can you ssh -vv to user-dest @ zzz directly without piper? likely zzz closed connection and did not give any reason
Without using the sshpiper (directly ssh from pod to pod) the ssh session is not closed. Even after minutes of idle. Do you need any logs?
any luck to capture package? wish to know which side initiated the close
could you please also add keepalive at client side? (downstream, ssh client)
Was not a problem of sshpiper :) 50.000ms where the default timeouts on the loadbalancer...
In our case (OpenStack) we increased it to 24 hours via annotations in the k8s loadbalancer type service:
apiVersion: v1
kind: Service
metadata:
annotations:
loadbalancer.openstack.org/timeout-client-data: "86400000"
loadbalancer.openstack.org/timeout-member-data: "86400000"
[...]
Thank you for your help!
Any idea how to troubleshoot this?