Replies: 2 comments
-
We added the rest of the SSH Config flags a while ago. We won't be supporting Match clauses. The main reason is because that requires to launch a background process to capture the output. It is doable, but we cannot rely on the current subsystem to do that at the moment. This is very niche and unfortunately to survive we have other battles. I will mark as won't fix and move to Discussions. If enough people needs it, we will consider it. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, thanks for creating Blink. I try (for better or worse) to use the same ssh config file across all my devices. I also cannot access all my hosts externally, needing to jump through a proxy. I do this in the config file like this:
Inside my network
"internal.my.org"
resolves to an RFC1918 address, and ssh connects to it directly. Outside my network, on the public internet, the call to"host %h"
in theMatch
clause fails, which because it is negated, results in the connection using the specified ProxyJump. Thus, no matter whether I'm internal or external to my network I can use the same ssh command and everything automagically works.I've tried this in Blink, but I get a warning, which is:
ssh_config_parse_line: line 12: Unsupported Match keyword !exec, ignoring
Which makes it seem like
exec
isn't supported, but it seems to be supported within the libssh code. I've also tried removing the negation, but then I get the error:ssh_config_parse_line: line 12: Unsupported Match keyword exec, ignoring
Am I doing something wrong? Are there plans to support (negated) exec in Match clauses?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions