src/SSHClient.php
protected function verify_host_fingerprint()
	{
		//Get the hosts fingerprint
		$fingerprint = ssh2_fingerprint($this->_conn_link);

		//Check the returned fingerprint, to the one expected
		if($this->_config['host_fingerprint'] === $fingerprint)
		{
			return TRUE;
		}
		else
		{
			return FALSE;
		}
	}
protected function verify_host_fingerprint()
	{
		//Get the hosts fingerprint
		$fingerprint = ssh2_fingerprint($this->_conn_link);

		//Check the returned fingerprint, to the one expected
		if($this->_config['host_fingerprint'] === $fingerprint)
		{
			return TRUE;
		}
		else
		{
			return FALSE;
		}
	}
protected function verify_host_fingerprint ( ) { //Get the hosts fingerprint $ fingerprint = ssh2_fingerprint ( $ this -> _conn_link ) ; //Check the returned fingerprint, to the one expected if ( $ this -> _config [ 'host_fingerprint' ] === $ fingerprint ) { return TRUE ; } else { return FALSE ; } }
Verify host fingerprint

Verifies the host fingerprint.

@return TRUE on success, FALSE on failure
Verify host fingerprint