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-5bf3f13c0684f680030983/] create …