I keep getting a packet_write_wait: Broken Pipe error on my EC2 SSH connections after a period of inactivity.
I've tried modifying the ServerAliveInterval
& ClientAliveInterval
settings with different values ranging from 5
to 120
. I've also tried changing the TCPKeepAlive
setting to no
or yes
. I've tried applying these settings to the config at /etc/ssh/sshd_config
and ~/.ssh/config
(I've tried these in a Host *
block and a Host SERVER.COM
block.)
Yet, I keep getting disconnected with a packet_write_wait: Broken Pipe error. How do I correct this issue?