OpenSSH receiving error :FOTS2915 zsshGetKeyFromKeyRing: gsk_open_keyring on 'XX328/SSHDTSPS' failed (53817353). File or keyring not found. FOTS1438 Could not load host key: XX328/SSHDTSPS OpenSSH z/OS Sandbox.

Document ID : KB000015413
Last Modified Date : 14/02/2018
Show Technical Document Details
Introduction:

Resolving :FOTS2915 zsshGetKeyFromKeyRing: gsk_open_keyring on 'XX328/SSHDTSPS' failed (53817353). File or keyring not found. FOTS1438 Could not load host key: XX328/SSHDTSPS OpenSSH z/OS Sandbox. with OpenSSH.

Question:

Receiving error message with OpenSSH:

 

:FOTS2915 zsshGetKeyFromKeyRing: gsk_open_keyring on 'XX328/SSHDTSPS' failed (53817353). File or keyring not found. FOTS1438 Could not load host key: XX328/SSHDTSPS OpenSSH z/OS Sandbox.

Answer:

OpenSSH is simply reporting back an exit status of 53817353 ie hex 03353009 from the gsk_open_keying() which means the file or keying
was not found. This suggests an issue with how your TSS keyrings have been defined / setup or any missing actions that need to activate the
definitions.

The keyring label must exactly match the keyring specified in OpenSSH. The keyring label name is specified on the LABLRING keyword and is case sensitive. Example:

 

TSS ADD(acid) KEYRING(keyringname) LABLRING(keyringlabel)