MCPcopy
hub / github.com/claude-code-best/claude-code / createAuthProxy

Function createAuthProxy

src/ssh/SSHAuthProxy.ts:100–107  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

98}
99
100export async function createAuthProxy(): Promise<AuthProxyInfo> {
101 const id = randomUUID()
102
103 if (isWindows) {
104 return createTcpAuthProxy(id)
105 }
106 return createUnixSocketAuthProxy(id)
107}
108
109async function createUnixSocketAuthProxy(id: string): Promise<AuthProxyInfo> {
110 const socketPath = `/tmp/claude-ssh-auth-${id}.sock`

Callers 2

createSSHSessionFunction · 0.85
createLocalSSHSessionFunction · 0.85

Calls 2

createTcpAuthProxyFunction · 0.85

Tested by

no test coverage detected