Skip to content

[Bug]: SSH connection command no longer printed after workspace setup #707

@YassineElbouchaibi

Description

@YassineElbouchaibi

Before submitting

  • I have searched existing issues to confirm this is not a duplicate
  • I am running the latest version of DevPod

What happened?

After running devpod up, the SSH command needed to connect to the workspace is no longer printed to the user. Instead, a generic SSH configuration completed in workspace message is shown.

This was introduced in commit c8f60ee, which replaced:

log.WithFields(logrus.Fields{"workspace": client.Workspace()}).Info("SSH command available: ssh " + client.Workspace() + ".devpod")

with:

log.Info("SSH configuration completed in workspace")

in cmd/up.go.

What did you expect to happen instead?

After devpod up completes, the CLI should print the exact SSH command the user can run to connect to the workspace, e.g.:

Run 'ssh my-workspace.devpod' to ssh into the devcontainer

Steps to reproduce

  1. Run devpod up <workspace>
  2. Observe the output — no SSH command is printed
  3. Compare with upstream loft-sh/devpod which still prints the command

devcontainer.json

N/A

Error output / logs

N/A

How often does this happen?

Every time

Operating system

N/A

Linux distribution (if applicable)

N/A

Architecture

N/A

Desktop app or CLI?

CLI only

DevPod version

N/A

DevPod provider

N/A

Provider version

N/A

Screenshots

N/A

Anything else?

Regression relative to earlier fork state (and loft-sh/devpod upstream, which still emits an equivalent message). The fix is a one-line change in cmd/up.go — restore a message that includes the workspace name so the user knows exactly which SSH command to run, e.g. log.WithFields(logrus.Fields{"workspace": client.Workspace()}).Info("SSH command available: ssh " + client.Workspace() + ".devpod").

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions