We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7cfd98e commit 06cfcc2Copy full SHA for 06cfcc2
src/SSHConnection.php
@@ -121,6 +121,8 @@ public function fingerprint(string $type = self::FINGERPRINT_MD5)
121
throw new RuntimeException('Unable to get fingerprint when not connected.');
122
}
123
124
+ $hostKey = substr($this->ssh->getServerPublicHostKey(), 8);
125
+
126
switch ($type) {
127
case 'md5':
128
return strtoupper(md5($hostKey));
0 commit comments