Creating a SSH tunnel passing through a 'bridge' machine

Viewed 39497

I need to access from a PHP script a database hosted on another machine which is accessible only via SSH using a bridge machine.

How can I setup a tunnel so that I can tunnel the connection from my machine to the database passing through the 'bridge' machine?

2 Answers
Related