1
0

Do not use the default known hosts file

This commit is contained in:
dump_stack() 2023-03-19 18:00:10 +00:00
parent e2fcc20f36
commit d6c678b0cd
Signed by: dump_stack
GPG Key ID: BE44DA8C062D87DC

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",
}