diff --git a/scripts/_Common.psm1 b/scripts/_Common.psm1 index 1bdde4c..d849225 100644 --- a/scripts/_Common.psm1 +++ b/scripts/_Common.psm1 @@ -391,7 +391,8 @@ function Get-GuestDiagnostics { Write-Warning "[Diagnostics] No SshKeyPath supplied for Linux guest — skipping." return } - $sshOpts = @('-i', $SshKeyPath, '-o', 'StrictHostKeyChecking=accept-new', + $sshOpts = @('-i', $SshKeyPath, '-o', 'StrictHostKeyChecking=no', + '-o', 'UserKnownHostsFile=NUL', '-o', 'ConnectTimeout=10', '-o', 'BatchMode=yes') try { # Collect: journalctl errors, ps, df