Its nice.. That said, one if the real issue is getting people to use -W ;)
ProxyCommand ssh -q <jumpHost> nc %h 22
doesn't protect?Edit: just tried `-W` as an addition to the line but I get
littlefish :: ~ » ssh pgsql3
Bad stdio forwarding specification '<jumpHost>'
ssh_exchange_identification: Connection closed by remote host 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.Agent forwarding with sshmux should be safer than the general case, though, as the agent is handled in memory, rather than as a socket. The agent is also not forwarded to the destination.