Connect to a remote database over an SSH tunnel
– barryvanveen.nl - submitted by Barry van Veen
I've been writing an artisan command to import data from a remote MySQL database. I can only connect to that database over an SSH connection using an SSH key. Here is an explanation of how to accomplish that.
Read more [barryvanveen.nl]