We are hosting a couple of sites on Acquia Cloud. Up to now I have SSH into the servers when I needed to execute any drush commands, but I want to start using drush on my local dev machine to execute commands on the servers.
Some of the commands work without an problems
drush ac-site-list, but as soon as a SSH key is required (for example
drush @site.env status I get a
Permission denied (publickey). error message. I know this means that the public SSH key being used is not valid, and I also know why this is happening. I have only one SSH key for all the Acquia servers, but because there are different servers for the different sites, and in addition to that I have a couple of 'personal or private' key's; SSH does not know which key to use when I execute Drush.
For other SSH access (SSH in generate to other servers), I use a config file in my .ssh folder with aliases.
The problem is that I do not know how to tell Drush which 'ssh alias' from the .ssh/config file to use.
How can I achieve this?