s/s/sshd: Support "fatal: Write failed: Connection reset by peer" message
Willi Mann
9 years ago
0 | From: Willi Mann <willi@wm1.at> | |
1 | Date: Fri, 8 Aug 2014 18:29:10 +0200 | |
2 | Subject: s/s/sshd: Support "fatal: Write failed: Connection reset by peer" | |
3 | message | |
4 | ||
5 | --- | |
6 | scripts/services/sshd | 1 + | |
7 | 1 file changed, 1 insertion(+) | |
8 | ||
9 | diff --git a/scripts/services/sshd b/scripts/services/sshd | |
10 | index 0b43501..070f41e 100755 | |
11 | --- a/scripts/services/sshd | |
12 | +++ b/scripts/services/sshd | |
13 | @@ -323,6 +323,7 @@ while (defined(my $ThisLine = <STDIN>)) { | |
14 | ($ThisLine =~ m/^fatal: Read from socket failed: No route to host/) or | |
15 | ($ThisLine =~ m/^fatal: Write failed: Network is unreachable/ ) or | |
16 | ($ThisLine =~ m/^fatal: Write failed: Broken pipe/) or | |
17 | + ($ThisLine =~ m/^fatal: Write failed: Connection reset by peer/) or | |
18 | ($ThisLine =~ m/^channel \d+: open failed: (?:connect failed: Channel open failed\.|administratively prohibited: open failed)/) or | |
19 | ($ThisLine =~ m/^session_input_channel_req: no session \d+ req window-change/) or | |
20 | ($ThisLine =~ m/^error: chan_shutdown_read failed for .+/) |