Meet us at at Real World in Orlando, Florida.

All functions   Mac OS X   Windows   Crossplatform   Components   Guides  
New in version: 2.0   2.1   2.2   2.3   2.4   2.5   2.6   2.7   2.8  

CURL.SetOptionSSHKnownHosts

Component: CURL
Version: 2.5
Mac OS X: Works
Windows: Works

MBS( "CURL.SetOptionSSHKnownHosts"; handle; value )

Parameters

Parameter Description Example value
Handle The CURL session handle. $curl
Value The known hosts file path. "/tmp/knownhosts.txt"

Result

Returns "OK" on success.

Description

Sets the file path of the known_host file to use.
The known_hosts file should use the OpenSSH file format as supported by libssh2. If this file is specified, libcurl will only accept connections with hosts that are known and present in that file, with a matching public key.

Feedback: Report problem or ask question.




Links
MBS Realbasic PDF Plugins - Nachhilfe in Kretz