Topics
All
MacOS
(Only)
Windows
(Only)
Linux
(Only, Not)
iOS
(Only, Not)
Components
Crossplatform Mac & Win
Server
Client
Old
Deprecated
Guides
Examples
Videos
New in version:
9.5
10.0
10.1
10.2
10.3
10.4
10.5
11.0
11.1
11.2
Statistic
FMM
Blog
Returns the hex encoded host key.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
SSH | 6.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
Parameter | Description | Example | Flags |
---|---|---|---|
SSH | The SSH session reference number from the plugin. | $ssh | |
Selector | What value to return. Default is hex. hex: Return the key hex encoded. base64: Return key as base 64 encoded. length: Length of key in bytes. type: RSA or DSS or unknown. |
"type" | Optional |
Returns text or error.
Query length of key:
MBS( "SSH.HostKey"; $SSH; "length")
Query type of key:
MBS( "SSH.HostKey"; $SSH; "type")
Created 29th May 2016, last changed 12nd November 2017
SSH.GetUserName - SSH.HostKeyHash
Feedback: Report problem or ask question.