Warning: Some posts on this platform may contain adult material intended for mature audiences only. Viewer discretion is advised. By clicking ‘Continue’, you confirm that you are 18 years or older and consent to viewing explicit content.
Welcome We’ve all seen these great diagrams of how SSH port forwarding works but if your brain is anything like mine, these diagrams leave you with a lot of unanswered questions. If you’re on a red team, understanding how to traverse a network better than the people who designed it gives you immense power to do evil things. SSH is such a powerful tool but sometimes the syntax and other concepts can get in the way of us accomplishing our goals.
I didn’t see it mentioned on the page. but two super helpful things (in different situations).
Master-mode/multiplexing: https://oooops.dev/2021/01/31/ssh-multiplexing-and-master-mode/
Mosh for ssh over UDP for lossy/up-down connections: https://mosh.org/
Mosh is a lifesaver for laptops and keeping shells alive.