SSH Config for other apps?
I love that I can just run
coder ssh my-workspace
and get connected to my workspace, even if the IP has changed.
However, I'd like to use some other GUI programs to do remote editing, which manage SSH connections on their own (as in, not through the coder
CLI). Is there anyway to easily configure programs like these to connect to my workspace without constantly editing to change the IP address?![No description](https://cdn.answeroverflow.com/1030527994864869507/Screen_Shot_2022-10-14_at_10.08.20_AM.png)
8 Replies
Tangential question, can I configure DNS to resolve to my individual workspace? Kinda like how Coder uses the wildcard URL to host subapps, could that also be a target to enter in as an address for SSH config?
you can add them to your ssh config by doing
coder config-ssh
not yet afaikThe edits that
coder config-ssh
makes are still reliant on the coder
CLI (see ProxyCommand
), so I don't think they can be copy/pasted into another app like I'm trying to do here.copy/pasted no, if it relies on the ssh cli itself then yes
you could run a ssh server within the container and use
coder port-forward
I don't think it delegates to the CLI, but I guess I can double-check with the publisher.
you could run a ssh server within the container and use coder port-forwardHmm, seems like more work than I'd want right now. I'd really love to be able to re-use that wildcard domain... could I configure SSH as a
"coder_app"
and leverage the mechanics for the wildcard domain, maybe?We could allow the exposure of an SSH server that would proxy to a workspace. Feel free to open an issue for that!
GitHub
Configure SSH Proxy to individual workspaces · Issue #4559 · coder/...
I'd like to do remote development on my Coder workspace using Nova. Nova has its own internal SSH client, and so cannot benefit from the ease-of-use provided by coder ssh & co. As t...
tyty