The SSH connection class in includes/filetransfer/ssh.inc has the following error message

    if (!$this->connection) {
      throw new FileTransferException('SSH Connection failed to @host:@port', NULL, array('@host' => $this->hostname, '@port' => 21));
    }

Clearly that should be '@port' => $this->port instead.

CommentFileSizeAuthor
#1 1013058-1.patch871 bytesbfroehle
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

bfroehle’s picture

Status: Active » Needs review
FileSize
871 bytes

And a patch.

dww’s picture

Status: Needs review » Reviewed & tested by the community

Yes it should. Looks great. I can't test but the patch is so trivial and so obviously correct, I'm okay RTBCing anyway.

Thanks!

webchick’s picture

Status: Reviewed & tested by the community » Fixed

Nice catch!

Committed to HEAD. Thanks!

Status: Fixed » Closed (fixed)
Issue tags: -Quick fix, -Update manager

Automatically closed -- issue fixed for 2 weeks with no activity.