Using drush and aliases.drushrc.php with non-standard SSH-Port

Drupal Drush aliases.drushrc.php for setting SSH remote port

Today I'd like to give you a little hint how to a execute a remote SSH drush command successfully for a connection defined in aliases.drushrc.php when the SSH port differs from default "22". This is for example the case on Hetzner Hosting.

In my case I set the "remote-port" option, but with no success:

  1. $aliases['live'] = array(
  2.   'remote-host' => '...',