shell prompt image

How to get to a service/server which is on an inaccessible network (using SSH tunnels)

In the latest of ourĀ ‘just the examples’, imagine you are in a scenario where you want to ssh to a server (or even browse a web page etc) on a server you cannot directly get to. You do, however have access from your box (localhost) to a server (server1) that can connect to that server (let’s call that server2). Here’s how to ssh tunnel that shit! Let’s assume that your username is bob, but the…