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>
Cc:
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:
/QOpenSys/QIBM/ProdData/SC1/OpenSSH/etc/ssh_host_dsa_key

I am looking through Google but can't find anything specific to the IBM
i
(yet).

Any ideas?

Bradley V. Stone
www.bvstools.com
Native IBM i e-Mail solutions for Microsoft Office 365, Gmail, or any
Cloud
Provider!
--
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]https://lists.midrange.com/mailman/listinfo/opensource ;
or email: OpenSource-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at [2]https://archive.midrange.com/opensource ;.

Help support midrange.com by shopping at amazon.com with our affiliate
link: [3]https://amazon.midrange.com ;
 

 

References

Visible links
1. https://lists.midrange.com/mailman/listinfo/opensource
2. https://archive.midrange.com/opensource
3. https://amazon.midrange.com/

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

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

This mailing list archive is Copyright 1997-2022 by midrange.com 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.