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:
12.1
12.2
12.3
12.4
12.5
13.0
13.1
13.2
13.3
13.4
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, ECDSA256 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")
This function checks for a license.
Created 29th May 2016, last changed 25th June 2022