"packet_write_wait: Connection to <IP Address> port 22: Broken pipe" 

Document ID : KB000098417
Last Modified Date : 30/05/2018
Show Technical Document Details
Issue:
There is a job that used to run correctly and end success and for an unknown reason trigger error "packet_write_wait: Connection to <IP Address> port 22: Broken pipe"


 
Environment:
- CA WAAE 11.3.6, Service Pack: SP4 CUM1, Operating System: AIX 7
- System Agent upgraded from 11.3 to 11.3 SP7
Cause:
By looking into the script and stderr log file, the script was executing an ssh command which triggered error:
"packet_write_wait: Connection to <IP Address> port 22: Broken pipe" 



 
Resolution:

Increase the SSH ConnectTimeout option which can be done in the ssh_config file:


 ConnectTimeout
             Specifies the timeout (in seconds) used when connecting to the SSH server, instead of using the default system TCP timeout.  This
             value is used only when the target is down or really unreachable, not when it refuses the connection.