diff --git a/internal/codespaces/states.go b/internal/codespaces/states.go index 887735caf..c3fee0f3c 100644 --- a/internal/codespaces/states.go +++ b/internal/codespaces/states.go @@ -60,7 +60,8 @@ func PollPostCreateStates(ctx context.Context, progress progressIndicator, apiCl progress.StartProgressIndicatorWithLabel("Fetching SSH Details") defer progress.StopProgressIndicator() - remoteSSHServerPort, sshUser, err := session.StartSSHServer(ctx) + // TODO: This shouldn't care about the key + remoteSSHServerPort, sshUser, err := session.StartSSHServer(ctx, "") if err != nil { return fmt.Errorf("error getting ssh server details: %w", err) } diff --git a/pkg/cmd/codespace/logs.go b/pkg/cmd/codespace/logs.go index b3289de41..93d504aa7 100644 --- a/pkg/cmd/codespace/logs.go +++ b/pkg/cmd/codespace/logs.go @@ -56,7 +56,8 @@ func (a *App) Logs(ctx context.Context, codespaceName string, follow bool) (err localPort := listen.Addr().(*net.TCPAddr).Port a.StartProgressIndicatorWithLabel("Fetching SSH Details") - remoteSSHServerPort, sshUser, err := session.StartSSHServer(ctx) + // TODO: This shouldn't care about the key + remoteSSHServerPort, sshUser, err := session.StartSSHServer(ctx, "") a.StopProgressIndicator() if err != nil { return fmt.Errorf("error getting ssh server details: %w", err)