Add support for Match Host localnetwork

Hi,

I've started using a new ssh feature which was added to OpenSSH in version 9.4.
It lets me apply different sets of option depending upon which network I'm connected to.

It looks like this:

Match Host my-host localnetwork 192.168.0.0/24
    Port 4242
    HostName 192.168.0..1

Unfortunately Core Tunnel, can't parse this part of the config and won't connect:

The error from the console log:

13:44:39 debug1: Reading configuration data /Users/me/.ssh/config.d/jumphost.config
13:44:39 Unsupported Match attribute localnetwork
13:44:39 /Users/me/.ssh/config.d/jumphost.config line 42: Bad Match condition

Would you consider adding support for this feature?

Hi David, will update OpenSSH contained in Core Tunnel/ Shell to latest version in next release, hopefully it will be released mid-month.

Kindly Regards,

Yang

1 Like

Came here to request the same. Any idea when the next release will happen? Thank you!

New release will be available in the few days.

Yang

1 Like

@davidolrik @mlgill Thanks for waiting so long, version 3.10 was just released on Codinn Store:

App Store, and Setapp Store versions will be also available for upgrade in next few days.

Yang

Thanks -- I've downloaded and am testing now.