MCPcopy
hub / github.com/vercel-labs/wterm / ConnectParams

Interface ConnectParams

examples/ssh/server.ts:14–20  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12const handle = app.getRequestHandler();
13
14interface ConnectParams {
15 host: string;
16 port: number;
17 username: string;
18 password?: string;
19 privateKey?: string;
20}
21
22function handleSSHConnection(ws: WebSocket) {
23 let sshClient: Client | null = null;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected