1
0
Fork 0

Do not use the default known hosts file

timestamps
dump_stack() 2023-03-19 18:00:10 +00:00
parent e2fcc20f36
commit d6c678b0cd
Signed by: dump_stack
GPG Key ID: BE44DA8C062D87DC
1 changed files with 1 additions and 0 deletions

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