function SSH::__construct

Overrides Drupal\Core\FileTransfer\FileTransfer::__construct().

Overrides FileTransfer::__construct

File

drupal/core/lib/Drupal/Core/FileTransfer/SSH.php, line 18
Definition of Drupal\Core\FileTransfer\SSH.

Class

SSH
The SSH connection class for the update module.

Namespace

Drupal\Core\FileTransfer

Code

function __construct($jail, $username, $password, $hostname = "localhost", $port = 22) {
  $this->username = $username;
  $this->password = $password;
  $this->hostname = $hostname;
  $this->port = $port;
  parent::__construct($jail);
}