-
-
Notifications
You must be signed in to change notification settings - Fork 14
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
Doesn't support config.d #16
Comments
I'd say go one step further: allow the user to define if they treat them as groups or just included files. I can see some people wanting to use that file organization but have the names be respected while others, like myself, would like them treated as groups. |
The real issue is in the parser that is used by fast-ssh → ssh_cfg. |
Things i note:
As i understand changes, it would be up to |
@Julien-R44 : You seem inactive or too busy these days. I went to using |
Indeed I don't really have time to maintain fast-ssh at the moment. However if someone wants to propose a PR to fix this point, it will be accepted with pleasure. |
A valid usage of ssh config files is includeing a directory of configs:
include ~/.ssh/config.d/*
fast-ssh complains that the config is invalid:
Moving the include line to the end of the file then includes it with the last host in the config which is undesired behaviour.
A suggested behaviour could be to treat files in config.d as groups, I use config.d files to keep customer devices out of my main config which keeps the main config cleaner and allows me to share specific customer configs with team mates.
The text was updated successfully, but these errors were encountered: