We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4be110a commit e38dcb8Copy full SHA for e38dcb8
src/SSHConnection.php
@@ -70,7 +70,7 @@ public function connect(): self
70
{
71
$this->sanityCheck();
72
73
- $this->ssh = new SSH2($this->hostname);
+ $this->ssh = new SSH2($this->hostname, $this->port);
74
75
if (!$this->ssh) {
76
throw new RuntimeException('Error connecting to server.');
0 commit comments