(args: string[])
| 49 | } |
| 50 | |
| 51 | export function appendOpenSSHHostKeyPolicyArgs(args: string[]): void { |
| 52 | if (hostKeyPolicyMode === "strict") { |
| 53 | return; |
| 54 | } |
| 55 | |
| 56 | args.push("-o", "StrictHostKeyChecking=no"); |
| 57 | args.push("-o", "UserKnownHostsFile=/dev/null"); |
| 58 | } |
| 59 | |
| 60 | /** |
| 61 | * SSH connection configuration (host/port/identity only). |
no test coverage detected