1
0
mirror of https://github.com/gilbertchen/duplicacy synced 2025-12-22 11:13:35 +00:00
The file should be titled "known_hosts" instead.
This commit is contained in:
Stefano Da Ros
2017-06-13 18:53:59 +02:00
committed by GitHub
parent 7e5fc0972d
commit 4b60859054

View File

@@ -82,7 +82,7 @@ func checkHostKey(repository string, hostname string, remote net.Addr, key ssh.P
}
preferencePath := GetDuplicacyPreferencePath(repository)
hostFile := path.Join(preferencePath, "knowns_hosts")
hostFile := path.Join(preferencePath, "known_hosts")
file, err := os.OpenFile(hostFile, os.O_RDWR | os.O_CREATE, 0600)
if err != nil {
return err