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

Method StartSSHServer

internal/codespaces/rpc/invoker.go:211–213  ·  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

209
210// Starts a remote SSH server to allow the user to connect to the codespace via SSH
211func (i *invoker) StartSSHServer(ctx context.Context) (int, string, error) {
212 return i.StartSSHServerWithOptions(ctx, StartSSHServerOptions{})
213}
214
215// Starts a remote SSH server to allow the user to connect to the codespace via SSH
216func (i *invoker) StartSSHServerWithOptions(ctx context.Context, options StartSSHServerOptions) (int, string, error) {

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected