repo git: Report unknown host as authentication error. Closes #1542
This commit is contained in:
parent
a11a5a928a
commit
338d18df55
|
@ -731,7 +731,8 @@ namespace SparkleLib.Git {
|
|||
Error = ErrorStatus.HostIdentityChanged;
|
||||
|
||||
} else if (line.StartsWith ("Permission denied") ||
|
||||
line.StartsWith ("ssh_exchange_identification: Connection closed by remote host")) {
|
||||
line.StartsWith ("ssh_exchange_identification: Connection closed by remote host") ||
|
||||
line.StartsWith ("The authenticity of host")) {
|
||||
|
||||
Error = ErrorStatus.AuthenticationFailed;
|
||||
|
||||
|
|
Loading…
Reference in a new issue