1
0

Do not use the default known hosts file

This commit is contained in:
2023-03-19 18:00:10 +00:00
parent e2fcc20f36
commit d6c678b0cd

View File

@ -387,6 +387,7 @@ func (q System) scp(user, localPath, remotePath string, recursive bool) (err err
args := []string{
"-P", port,
"-o", "StrictHostKeyChecking=no",
"-o", "UserKnownHostsFile=/dev/null",
"-o", "LogLevel=error",
}