andrew-d / static-binaries

Various *nix tools built as statically-linked binaries
Other
3.19k stars 575 forks source link

I need a netcat for creating jdbc pipe through SSH and netcat pipe #40

Open VeijoRyhanen opened 2 years ago

VeijoRyhanen commented 2 years ago

jdbc server is located in a third host, and middle host (which is accessed through ssh), does not include a netcat binary. So, I can't currently create a netcat pipe between middle host and a jdbc host (there is no direct route between localhost and jdbc host).

michael105 commented 2 years ago

You could use (named) pipes, and redirect stdin/out of netcat via the ssh tunnel to the pipes at the middle server