I'm trying to connect my Drupal 8 website to a mysql database hosted on a different server, which is only accessible through SSH. I can connect my database manager (heidiSQL) with a SSH tunnel, but i was wondering if it's possible to connect Drupal via SSH too?
thanks in advance!
Edit; To clear things up a bit: The drupal setup is running localhost on my pc, the database is running on a webserver at our ISP. I could download the database to my pc and connect to it locally, but we're working on this site with multiple developers and want to share just one database so we all have the same data.
Edit 2; The SSH connection is made with a SSH key, so no username/password pair.