SSH port forwarding with Go

41 · Eli Bendersky · Nov. 20, 2022, 3:32 a.m.
Summary
This post shows how to set up SSH port forwarding ("tunnels") - both local and remote - using the extended Go standard library. Setup While you could set up localhost forwarding for testing, to discuss a more realistic scenario I would recommend spinning up a basic VPS. For the purpose of writing …...