|
ssh2_fingerprintRetrieve fingerprint of remote server Description
string ssh2_fingerprint
( resource
$session
[, int $flags = SSH2_FINGERPRINT_MD5 | SSH2_FINGERPRINT_HEX
] )Returns a server hostkey hash from an active session. Parameters
Return ValuesReturns the hostkey hash as a string. Examples
Example #1 Checking the fingerprint against a known value
<?php |