Drush aliases and Permission denied (publickey,password) problem Im trying to use Drush Aliases but getting Permission denied (publickey,password) error. I can login to server using publickey without password but Drush can not. 
I've read the solution mentioned here and made the change but no success. Is there anything I'm missing here?
A possible cause is that you are not specifying your remote user in the drush alias file.

For example, if the ssh command that works to allow you to login is:

ssh myuser@example.com


Then an alias might look like this:

$aliases['dev'] = array(
  'uri' =&gt; 'http://www.example.com',
  'root' =&gt; '/var/www/vhosts/example.com/docroot/',
  'remote-host' =&gt; 'example.com',
  'remote-user' =&gt; 'myuser'
);