File tree Expand file tree Collapse file tree 1 file changed +13
-4
lines changed Expand file tree Collapse file tree 1 file changed +13
-4
lines changed Original file line number Diff line number Diff line change @@ -6,17 +6,26 @@ var errorsWhenSSHClientNeedToBeRecreated = []string{
6
6
"dial timeout" ,
7
7
"i/o timeout" ,
8
8
"session creation timeout" ,
9
- "failed to dial ssh" ,
9
+ "session failed" ,
10
+ "failed to dial" ,
11
+ "unable to dial" ,
10
12
"handshake failed" ,
13
+ "password auth failed" ,
14
+ "keyboard-interactive failed" ,
11
15
"unable to authenticate" ,
16
+ "server got error" ,
17
+ "client could not authenticate" ,
12
18
"connection refused" ,
13
19
"use of closed network connection" ,
14
- "rejected: too many authentication failures" ,
15
- "rejected: connection closed by remote host" ,
16
- "rejected: connect failed" ,
20
+ "many authentication failures" ,
21
+ "connection closed by remote host" ,
22
+ "connect failed" ,
17
23
"open failed" ,
18
24
"handshake failed" ,
25
+ "subsystem request failed" ,
19
26
"EOF" ,
27
+ "broken pipe" ,
28
+ "closing write end of pipe" ,
20
29
}
21
30
22
31
func isErrorWhenSSHClientNeedToBeRecreated (err error ) bool {
You can’t perform that action at this time.
0 commit comments