ask-sheldon.com
Tunnel MySQL through SSH | Bravehartk2's Blog
Recently I had the challenge, that the MySQL database of one of the Magento shops I maintain wasn’t accessible directly through the Net. The access was restricted to the Webserver only. So I had to tunnel MySQL through SSH. And that worked like that: edit the ssh config (~/.ssh/config) on the remote Webserver [crayon-5ce50fcb1f800367615963/] create …