I am trying to ssh to remote Host B, but network access control governs I am only able to do this via Host A. How would I go about doing that?
Have tried creating a tunnel to Host A ssh -f -N -D 2222 user@hostA
Then when creating new ssh connections from Local specifying tunnel port to tunnel those connections, but cant get this working.. ssh -L 2222:hostB:22 hostA
Hosts involved: Local Host A (local intranet) Host B (internet)
Flow of traffic: Local > HostA > HostB
Any pointers would be super hand.. thanks in advance!