You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I could maintain separate configuration files but that rather defeats the point of having a configuration parser. Of course the ideal would be that Net::SSH understands the complete syntax. However, if Net::SSH can't understand the full gamut of SSH configuration options, perhaps you could add a methods of blacklisting specific lines as a compromise? Something akin to Rubocop directives, e.g.:
I have an SSH configuration including a Match Host block, like the following:
The ProxyCommand is only valid within the Match Host context, yet it is configured for every host.
I could maintain separate configuration files but that rather defeats the point of having a configuration parser. Of course the ideal would be that Net::SSH understands the complete syntax. However, if Net::SSH can't understand the full gamut of SSH configuration options, perhaps you could add a methods of blacklisting specific lines as a compromise? Something akin to Rubocop directives, e.g.:
This would give people a workaround for future syntax changes as well while the parser catches up.
Cheers
The text was updated successfully, but these errors were encountered: