Skip to content

Unable to SSH with Coder Desktop running #568

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
matifali opened this issue Apr 9, 2025 · 2 comments
Closed

Unable to SSH with Coder Desktop running #568

matifali opened this issue Apr 9, 2025 · 2 comments

Comments

@matifali
Copy link
Member

matifali commented Apr 9, 2025

With the new SSH Suffix changes and the latest Coder CLI. The ~/.ssh/config conflicts with the DNS resolution of Coder Desktop.

See the screenshot below where, with the Coder Desktop turned on, I should get an SSH connection, but instead, SSH is trying to use the CLI and failing to connect as I am logged out of the CLI.

Coder v2.21.0-devel+3f3e2017b Wed Apr  9 11:19:48 UTC 2025
https://github.com/coder/coder/commit/3f3e2017bdda832ca29f30cbe0e6839ceb278730
Image

Related to coder/coder-desktop-macos#131

@matifali
Copy link
Member Author

matifali commented Apr 9, 2025

As a workaround, I used coder config-ssh --hostname-suffix atif, and now I can ssh workspace.coder as the ~/.ssh/config no more conflicts.

@ethanndickson
Copy link
Member

Closed by coder/coder#17419

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants