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
8 Replies
Mr_Neezer
Mr_NeezerOP3y ago
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?
Phorcys
Phorcys3y ago
you can add them to your ssh config by doing coder config-ssh not yet afaik
Mr_Neezer
Mr_NeezerOP3y ago
The 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.
Phorcys
Phorcys3y ago
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
Mr_Neezer
Mr_NeezerOP3y ago
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-forward
Hmm, 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?
kyle
kyle3y ago
We could allow the exposure of an SSH server that would proxy to a workspace. Feel free to open an issue for that!
Mr_Neezer
Mr_NeezerOP3y ago
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...
kyle
kyle3y ago
tyty
Want results from more Discord servers?
Add your server