PHP » GoLang |
login |
register |
about
|
GoLang ssh2_fingerprint
request it (431)
GoLang replacement for PHP's ssh2_fingerprint
[edit | history]
ssh2_fingerprint(PECL ssh2 >= 0.9.0) ssh2_fingerprint — Retrieve 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 |
more
Recently updated
more
Most requested
|