Skip to content

SSH.KnownHosts.Constructor

Andrew Lambert edited this page Nov 26, 2022 · 3 revisions

SSH.KnownHosts.Constructor

Method Signatures

 Sub Constructor(Session As SSH.Session)
 Sub Constructor(Session As SSH.Session, KnownHostsFile As FolderItem)

Parameters

Constructor(SSH.Session)

Name Type Comment
Session SSH.Session An SSH session.

Constructor(SSH.Session, FolderItem)

Name Type Comment
Session SSH.Session An SSH session.
KnownHostsFile FolderItem A file to read known hosts from.

Remarks

Constructs a new instance of KnownHosts, optionally loading the specified known hosts file.

Clone this wiki locally