MCPcopy Index your code
hub / github.com/cli/cli / StartSSHServer

Method StartSSHServer

internal/codespaces/rpc/invoker.go:216–218  ·  view source on GitHub ↗

Starts a remote SSH server to allow the user to connect to the codespace via SSH

(ctx context.Context)

Source from the content-addressed store, hash-verified

214
215// Starts a remote SSH server to allow the user to connect to the codespace via SSH
216func (i *invoker) StartSSHServer(ctx context.Context) (int, string, error) {
217 return i.StartSSHServerWithOptions(ctx, StartSSHServerOptions{})
218}
219
220// Starts a remote SSH server to allow the user to connect to the codespace via SSH
221func (i *invoker) StartSSHServerWithOptions(ctx context.Context, options StartSSHServerOptions) (int, string, error) {

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected