-
Notifications
You must be signed in to change notification settings - Fork 887
CLI: config-ssh: coder config-ssh --remove is not supported, but is mentioned in .ssh/config file #1704
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
Comments
I noticed this, and it's annoying, since I was having ssh config problems and to manually delete these. |
This behavior has changed in #1900 and #2341 (part of latest release),
The comment mentions manual removal. Can this be closed or do we need to implement |
I think manual removal can be dicey the way this implemented. How's this? Add obvious delimiter rows and per line comments e.g.:
|
@ketang currently the block looks like this in
We assume that it's safe to manage all the lines between If we're concerned about safety, I think one alternative would be to tag each line with a trailing comment, e.g.
But I fear the additional noise would be unwelcome and make it harder to read. We could also indent comments based on the longest line:
Slightly better, but resulting in some potentially very long lines. EDIT: Oh I just realized this was probably your proposal, haha, oops. |
No worries. I think we can backburner this for now and solicit community feedback a little further down the line. We have multiple plausible options and currently lack the data to guide us to the best among them. |
This issue is becoming stale. In order to keep the tracker readable and actionable, I'm going close to this issue in 7 days if there isn't more activity. |
Closing for now... this doesn't seem required in the short-term. |
OS Information
coder --version
:Coder v0.0.0-devel+9b70a9b Tue May 24 00:04:38 UTC 2022
9b70a9b
Steps to Reproduce
This was generated by "coder config-ssh".
To remove this blob, run:
coder config-ssh --remove"
Expected
Config is removed or do not mention it in the generated file
Actual
coder config-ssh --remove
unknown flag: --remove
Run 'coder config-ssh --help' for usage.
Logs
Screenshot
Notes
The text was updated successfully, but these errors were encountered: