There are 3 machines in my setup:
M1 M2 M3
- I need to open an SSH shell on M1 controlling M3.
- Both M1 and M3 are behind different firewalls, and can't reach one another directly.
- Both M1 and M3 can reach (and connect via ssh) to M2. But not the other way around - M2 can't reach M1 or M3.
Can I use M2 to create a tunnel from M1 to M3?
M1 --> M2 <-- M3
\____________^
ssh
tunnel might be what you're looking for)? – einfeyn496 Jul 28 '20 at 08:12