Do not use the default known hosts file
This commit is contained in:
parent
e2fcc20f36
commit
d6c678b0cd
@ -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",
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user