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.3
9.4
9.5
10.0
10.1
10.2
10.3
10.4
10.5
10.6
Statistic
FMM
Blog
SSH.HostKey
Returns the hex encoded host key.
| Component | Version | macOS | Windows | Linux | Server | FileMaker iOS SDK |
| SSH | 6.3 | Yes | Yes | Yes | Yes | Yes |
MBS( "SSH.HostKey"; SSH { ; Selector } ) More
Parameters
| 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 |
Result
Returns text or error.
Description
Returns the hex encoded host key.Examples
Query length of key:
MBS( "SSH.HostKey"; $SSH; "length")
Query type of key:
MBS( "SSH.HostKey"; $SSH; "type")
See also
Example Databases
Created 29th May 2016, last changed 12nd November 2017
SSH.GetUserName - SSH.HostKeyHash
Feedback: Report problem or ask question.
Links
MBS Xojo Plugins