Skip to content

Conversation

sio2boss
Copy link

Initial draft of adding Match support with major help from Cursor / Claude. I'm particularly interested in getting a security review as there was a comment about that. So this is now supported:

Match Host *.example.com
  Compression yes
  HostName test.example.com
  Port 2222
  User hi_there

@dnitsch
Copy link

dnitsch commented Oct 15, 2025

I wonder if it might make sense to have a less strict Decode mode as only introducing a partial support for the Match might be misleading?

Perhaps also adding a noStrict property on the Config struct allowing for parsing of the entire config file and not failing - including the Host property for Match.

I know this would help me a lot :D

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants