SSH.KnownHosts.Constructor - charonn0/RB-libssh2 GitHub Wiki
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.