repo git: Report unknown host as authentication error. Closes #1542
This commit is contained in:
parent
778490580f
commit
31a216450c
|
@ -734,7 +734,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