Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server (Not)   Client   Old   Guides   Examples
New in version: 6.4   6.5   7.0   7.1   7.2   7.3   7.4   7.5   8.0   8.1    Statistic  


Returns the hex encoded host key.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
SSH 6.3 Yes Yes Yes Yes Yes

MBS( "SSH.HostKey"; SSH { ; Selector } )


Parameter Description Example value
SSH The SSH session reference number from the plugin. $ssh
Selector Optional
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.


Returns text or error.


Returns the hex encoded host key.


Query length of key:

MBS( "SSH.HostKey"; $SSH; "length")

Query type of key:

MBS( "SSH.HostKey"; $SSH; "type")

See also

Example Databases

SSH.GetUserName   -   SSH.HostKeyHash

Feedback: Report problem or ask question.

MBS FileMaker blog