Find this line in /QOpenSys/QIBM/UserData/SC1/OpenSSH/etc/sshd_config and
remove it:
HostKey /QOpenSys/QIBM/ProdData/SC1/OpenSSH/etc/ssh_host_dsa_key
DSA keys are no longer considered secure. Not sure what happened to it,
but you could say good riddance.

----- Original message -----
From: Brad Stone <bvstone@xxxxxxxxx>
Sent by: "OpenSource" <opensource-bounces@xxxxxxxxxxxxxxxxxx>
To: IBMi Open Source Roundtable <opensource@xxxxxxxxxxxxxxxxxx>
Subject: [EXTERNAL] [IBMiOSS] Can't Start SSH - Could Not Load Host Key
Date: Thu, Apr 15, 2021 2:39 PM
I have a client who just installed some PTFs (V7R3) and now their SSH
server will not start using STRTCPSVR *SSHD.  I tried the QSHELL command
and saw this error:

Could not load host key:

I am looking through Google but can't find anything specific to the IBM

Any ideas?

Bradley V. Stone
Native IBM i e-Mail solutions for Microsoft Office 365, Gmail, or any
This is the IBMi Open Source Roundtable (OpenSource) mailing list
To post a message email: OpenSource@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: [1] ;
or email: OpenSource-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at [2] ;.

Help support by shopping at with our affiliate
link: [3] ;



Visible links

As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2022 by and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.