MCPcopy
hub / github.com/coder/mux / getAgentConfig

Function getAgentConfig

src/node/runtime/SSH2ConnectionPool.ts:88–98  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

86}
87
88function getAgentConfig(): string | undefined {
89 if (process.env.SSH_AUTH_SOCK) {
90 return process.env.SSH_AUTH_SOCK;
91 }
92
93 if (process.platform === "win32") {
94 return "pageant";
95 }
96
97 return undefined;
98}
99
100function getDefaultUsername(): string {
101 try {

Callers 1

connectMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected