Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Guides   Examples
New in version: 7.5   8.0   8.1   8.2   8.3   8.4   8.5   9.0   9.1   9.2    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 } )   More


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

Created 29th May 2016, last changed 12nd November 2017

SSH.GetUserName   -   SSH.HostKeyHash

Feedback: Report problem or ask question.

MBS FileMaker tutorial videos