-
Notifications
You must be signed in to change notification settings - Fork 33
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
fail with config:32: config variable before Host variable
#57
Comments
I met the same problem with
I guess sshs does not support |
I believe this happens because of the currently used parser, more precisely here. I though about opening an issue, but it looks like it is advised in the OpenSSH specification to put the Maybe, @simkimsia you could try something like
and tell us if thats the case. NOTE: my config is looking like that, with the
As for the Hope this helps. |
@userwiths It works, thanks so much! |
This has plagued me for years while using sshs until recently discovering this unexpected config behavior. The parser as currently implemented treats a "Host *" section at the top of the config as immutable values, unchanged by more specific host entries. My initial understanding was that more specific host entries would override the "Host *" section. What functions best is listing the "Host *" last, providing fallback defaults. |
Hey! Since sshs now has an homemade parser, is the issue fixed? |
similar to #1
The text was updated successfully, but these errors were encountered: