Re:Sshmuxd: SSH proxy to replace jump hosts
by keeperofdakeys on Monday September 07, 2015 @05:32AM
(#10180702)
Try formatting it like this:
ProxyCommand ssh jumpHost -W %h:%p
-W is essentially the same as using nc, however it doesn't require executing a command on the jumphost. This project uses that fact to make the jumphost more secure (you can't execute arbitrary commands), and do destination white-listing for each user.
Re:Sshmuxd: SSH proxy to replace jump hosts
by joushou on Monday September 07, 2015 @04:47AM
(#10180592)
sshmux gives fine-grained user controls. In the normal jumphost example, you can use ssh -W to connect to arbitrary ports and hosts on the network, poking around where you weren't intended (ssh -W is just netcat where the ssh server initiates the connection for you). With sshmux, ssh -W will only work to hosts permitted for that user, and any other request will just fail.
Edit: just tried `-W` as an addition to the line but I get