-
-
Notifications
You must be signed in to change notification settings - Fork 4
SSH.KnownHosts.Lookup
Andrew Lambert edited this page Nov 26, 2022
·
4 revisions
SSH.KnownHosts.Lookup
Function Lookup(Host As String, Port As Integer = 0, Key As MemoryBlock, Type As Integer) As Boolean
// Function Lookup(Session As SSH.Session) As Boolean ' deprecated
Name | Type | Comment |
---|---|---|
Host |
String | The host to be looked up in the list. |
Port |
Integer | Optional. The non-default port associated with the host. |
Key |
MemoryBlock | The host's key. |
Type |
Integer | The format of the host+key. |
Lookup(Session As SSH.Session)
Deprecated
Name | Type | Comment |
---|---|---|
Session |
SSH.Session | The session whose host+key is to be looked up in the list. |
Returns False if the host was not found or if the key doesn't match the one saved in the list.
Checks the specified host+key against the list of known hosts.
Wiki home | Project page | Bugs | Become a sponsor
Text and code examples are Copyright ©2018-24 Andrew Lambert, offered under the CC BY-SA 3.0 License.