-
Notifications
You must be signed in to change notification settings - Fork 30
Closed
Description
Is there an existing issue for this?
- I have searched the existing issues
Current Behavior
I am trying to connect to my workspace using the VSC Desktop application (Mac). I see my workspaces through the coder extension and the following ssh config is generated:
# --- START CODER VSCODE my.domain.com ---
Host coder-vscode.my.domain.com--*
ConnectTimeout 0
LogLevel ERROR
ProxyCommand "/Users/myuser/Library/Application Support/Code/User/globalStorage/coder.coder-remote/my.domain.com/bin/coder-darwin-arm64" --global-config "/Users/myuser/Library/Application Support/Code/User/globalStorage/coder.coder-remote/my.domain.com" ssh --stdio --usage-app=vscode --disable-autostart --network-info-dir "/Users/myuser/Library/Application Support/Code/User/globalStorage/coder.coder-remote/net" --ssh-host-prefix coder-vscode.my.domain.com-- %h
SetEnv CODER_SSH_SESSION_TYPE=vscode
StrictHostKeyChecking no
UserKnownHostsFile /dev/null
# --- END CODER VSCODE my.domain.com ---
The above config tries to access /api/v2/users/me/workspace/myuser--24-hours?include_deleted=false
(24-hours being my workspace).
To debug, I replaced "%h" in the ssh config with "myuser--24-hours". This resulted in access to the following URL: /api/v2/users/myuser/workspace/24-hours?include_deleted=false
. This will work, but of course the config will be overwritten on the next attempt.
Relevant Log Output
Exec server for ssh-remote+coder-vscode.my.domain.com--myuser--24-hours failed: Error
Expected Behavior
Opening the Workspace by clicking "VS Code Desktop" in the UI.
Steps to Reproduce
- Create a workspace "24-hours"
- Wait till it's ready
- Click "VS Code Desktop"
Environment
- Host OS: Rocky 9.6 (where Coder runs)
- Coder version: v2.24.2+0ead64f
- Workspace OS: Ubuntu 24.04.2
- Client OS running VSC: macOS 15.5 (24F74)
Additional Context
No response
Metadata
Metadata
Assignees
Labels
No labels