edtFTPnet/PRO - Secure FTP component for .NET | Free Trial | Pricing

KnownHostsManagerLoadKnownHosts(String) Method

Read the given known hosts file to obtain the host public keys.

Definition

Namespace: EnterpriseDT.Net.Ftp.Ssh
Assembly: edtFTPnetPRO (in edtFTPnetPRO.dll) Version: 12.7.0.0
C#
public void LoadKnownHosts(
	string knownHostsFile
)

Parameters

knownHostsFile  String
Path of known_hosts file

Remarks

Contents must be in the standard known_hosts file format. The hosts are added to the current list.

See Also