sftp process running in a container fails intermittently with "kex_exchange_identification: Connection closed by remote host"
Issue
- Application container does sftp to an external vendor
- Sftp process running in a container fails intermittently with "kex_exchange_identification: Connection closed by remote host"
- Sftp server is running in AWS cloud
- The same sftp command from the node running the pod initially never failed, but ultimately failures could be
reproduced on the node as well. - Different versions of SSH i.e v1 and v2 etc did not help
Environment
- Redhat Openshift Container Platform 4.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.