ssh broken pipe
This happens like 5 times within a 10 minute span, it has become very annoying.
-Thank you guys.
4 Replies
If this is due to your network connection dropping dead every so often you could turn off TCPKeepAlive in /etc/ssh/sshd_config:
TCPKeepAlive no
And then restart sshd.
Turn on verbose logging while you are editing sshd_config:
LogLevel VERBOSE
Verbose logging really should be the default. Without it sshd doesn't even log what key was used for authentication.
@sednet:
You could check the SSH logs but don't count on it logging anything helpful. It likely logs to /var/log/messages.
If this is due to your network connection dropping dead every so often you could turn off TCPKeepAlive in /etc/ssh/sshd_config:
TCPKeepAlive no
And then restart sshd.
Turn on verbose logging while you are editing sshd_config:
LogLevel VERBOSE
Verbose logging really should be the default. Without it sshd doesn't even log what key was used for authentication.
Thanks! I hope this helps.
@nthvision:
@sednet:You could check the SSH logs but don't count on it logging anything helpful. It likely logs to /var/log/messages.
If this is due to your network connection dropping dead every so often you could turn off TCPKeepAlive in /etc/ssh/sshd_config:
TCPKeepAlive no
And then restart sshd.
Turn on verbose logging while you are editing sshd_config:
LogLevel VERBOSE
Verbose logging really should be the default. Without it sshd doesn't even log what key was used for authentication.
Thanks! I hope this helps.
Unfortunately this did not help, does anyone else have any suggestions? trouble shooting tips?
Might be interesting to run Wireshark on the local end when this happens.