Re:SSH ProxyCommand == unexpected code execution (CVE-2023-5...
by bdd8f1df777b on Monday December 25, 2023 @12:56AM
(#38760224)
Wow, this is a security vulnerability potentially affecting me. I'm using ProxyCommand because GitHub is randomly blocked by the China GFW.
[ Parent
| on HN ]
Re:SSH ProxyCommand == unexpected code execution (CVE-2023-5...
by zeroimpl on Monday December 25, 2023 @01:11AM
(#38760271)
Try ProxyJump instead - it’s the newer way of doing it.
Re:SSH ProxyCommand == unexpected code execution (CVE-2023-5...
by bdd8f1df777b on Monday December 25, 2023 @09:54AM
(#38763043)
ProxyJump is to connect to one SSH server by another SSH, right? It doesn't work against GFW. GFW throttles SSH traffic across borders to ensure that SSH can only be used for running commands rather than tunneling data.
Re:SSH ProxyCommand == unexpected code execution (CVE-2023-5...
by zeroimpl on Monday December 25, 2023 @01:02PM
(#38764639)
Yeah I assumed that's what you were doing, since you mentioned Github blocked specifically. If you need to proxy through a protocol other than SSH, likely need to keep using ProxyCommand.
Re:SSH ProxyCommand == unexpected code execution (CVE-2023-5...
by leftcenterright on Monday December 25, 2023 @05:16AM
(#38761368)
This is interesting insight, would you care to share some parts of your ssh config indicating how you use ssh over a proxy here, most likely through a VPN?
Re:SSH ProxyCommand == unexpected code execution (CVE-2023-5...
by bdd8f1df777b on Monday December 25, 2023 @07:38AM
(#38762127)
```
Host github.com
ProxyCommand connect -H localhost:54321 %h %p
```localhost:54321 is a SOCK5 proxy, which forwards the traffic through TLS to my VPS server.