Re:Using SSH_config Match to connect to a host using multipl...
by ape4 on Wednesday August 17, 2022 @11:01AM
(#32497328)
Yeah seems like there should be an option to disable that
[ Parent
| on HN ]
Re:Using SSH_config Match to connect to a host using multipl...
by blueflow on Wednesday August 17, 2022 @01:54PM
(#32499584)
Its not increasing any attack surface, or can you construct a situation where it could be exploited?
Re:Using SSH_config Match to connect to a host using multipl...
by HvTfMhdTZ8Lths6 on Wednesday August 17, 2022 @07:01PM
(#32502913)
Well, setups using forced commands are relatively common with SSH (case in point: probably any Git server you've ever accessed over SSH); if one of those setups also allowed their user to specify ssh_config rules without realizing that Match can exec things there'd be a problem. I think that's a bit of a stretch though.