fix: SSH连接超时问题

This commit is contained in:
ZacharyZcR 2024-12-20 21:01:56 +08:00
parent 9cd137c099
commit 497bc2e86b

View File

@ -146,7 +146,7 @@ func CheckErrs(err error) bool {
// 已知错误列表 // 已知错误列表
errs := []string{ errs := []string{
"closed by the remote host", "too many connections", "closed by the remote host", "too many connections",
"i/o timeout", "EOF", "A connection attempt failed", "EOF", "A connection attempt failed",
"established connection failed", "connection attempt failed", "established connection failed", "connection attempt failed",
"Unable to read", "is not allowed to connect to this", "Unable to read", "is not allowed to connect to this",
"no pg_hba.conf entry", "no pg_hba.conf entry",