MCPcopy Index your code
hub / github.com/coder/mux / appendOpenSSHHostKeyPolicyArgs

Function appendOpenSSHHostKeyPolicyArgs

src/node/runtime/sshConnectionPool.ts:51–58  ·  view source on GitHub ↗
(args: string[])

Source from the content-addressed store, hash-verified

49}
50
51export 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).

Callers 4

buildGitSshCommandMethod · 0.90
spawnRemoteProcessMethod · 0.90
probeConnectionMethod · 0.85

Calls 1

pushMethod · 0.65

Tested by

no test coverage detected