Thứ Năm, 23 tháng 2, 2017

ssh:packet_write_wait: Connection to xxx Broken pipe

Sometimes situations encountered using ssh to log off: packet_write_wait: Connection to xxx.xxx.xxx.xxx Broken pipe. What causes it?

Probably because the server idle time is too long to close the ssh connection (log on to the server does not operate for a long time). You can configure the ssh client ServerAliveInterval, or by configuring ssh server-side ClientAliveInterval.
ssh server configuration:
The above command to configure ssh to connect more than 60 seconds without operation, disconnected.
ssh client configuration:
Need to set timeout.

Không có nhận xét nào:

Đăng nhận xét