Skip to content

SSH.KnownHosts.Load

Andrew Lambert edited this page Jul 24, 2018 · 5 revisions

Method Signatures

 Function Load(KnownHostsFile As FolderItem) As Integer
 Function Load(KnownHostLine As String) As Boolean

Parameters

Load(FolderItem)

Name Type Comment
KnownHostsFile FolderItem A file containing known host lines.

Load(String)

Name Type Comment
KnownHostsLine String A single known hosts line.

Return value

When loading from a file this method returns the number of hosts that were successfully loaded. When loading a String it returns True on success.

Remarks

Loads one or more known hosts from a file or from memory.

See also

Clone this wiki locally