Ah yes. I have run into that before now that I remember it.
I had an issue where I was using a hard coded host name but changing the systems I connect to.
And when the signature changed I started seeing that error.
Glad it's solved for you.
Thanks for posting your resolution for others to see.
Original Message:
Sent: Fri December 08, 2023 09:46 AM
From: Andrew Smith
Subject: IBM i Access Client Solutions - Open Source Package Management - Connect to SSH failing
Hi All,
just to publish the solution here, as it is finally solved.
I had the key for the host in known_hosts already. So the Open Source Package Management was complaining about it but not allowing me any option to fix it.
The regular SSH/putty sessions weren't complaining about the different key for the host, so it was still connecting.
To solve it:
ssh-keygen -R ip_address
That removed it from known_hosts and Open Source Package Management connected successfully again.
Hope this helps someone else with the same problem at a later date.
Cheers
Andrew
------------------------------
Andrew Smith
Original Message:
Sent: Mon December 04, 2023 11:00 AM
From: Andrew Smith
Subject: IBM i Access Client Solutions - Open Source Package Management - Connect to SSH failing
Hi Richard,
Yes, that is the weird thing. I can log in using regular SSH to the LPAR. No problem with using private key or password authentication to log on.
I can see from the dump that it does a lookup on its own file, instead of known_hosts.
There was a file named something like acs_known_hosts in my .ssh directory which I removed, but that hasn't made any difference
I think the next step has to be to completely remove it, and also the configuration directories to see if it makes any difference
Cheers
Andrew
Original Message:
Sent: 12/1/2023 5:03:00 PM
From: Richard Schoen
Subject: RE: IBM i Access Client Solutions - Open Source Package Management - Connect to SSH failing
Are you able to log in to IBM i via SSH from Putty or other SSH terminal ?
------------------------------
Richard Schoen
Owner/President
MobiGoGo LLC
Minneapolis MN
612-315-1745
Original Message:
Sent: Thu November 30, 2023 10:13 AM
From: Andrew Smith
Subject: IBM i Access Client Solutions - Open Source Package Management - Connect to SSH failing
Hi Paolo,
did you ever manage to solve this? I have the exact same issue on one of my LPARs.
I think it is down to the host key stored in known_hosts having changed, however I don't know where ACS stores "it's" version of known_hosts.
Typically it would be in your $HOME/.ssh directory for MacOS/Linux and I guess something similar for Windows. I can get a regular SSH session to the LPAR but not one for ACS Package Management, so it must use some other place to store the known_hosts.
Not been able to find it yet, so wondered if you had gotten anywhere?
Cheers
Andrew
------------------------------
Andrew Smith
Original Message:
Sent: Thu January 05, 2023 06:02 AM
From: Paulo Silva
Subject: IBM i Access Client Solutions - Open Source Package Management - Connect to SSH failing
Hi,
I'm trying to connect to SSH through IBM i Access Client Solutions - Open Source Package Management but I see the message:
However I can connect to SSH to the same server using either Windows PowerShell or MS Visual Studio Code.
This is an IBMi with release 7.3 and I'm using OpenVPN to get access.
Also the IBM i ACS About is the following:
I know there are a lot of variables in place and I don't expect a final solution for the problem. I'm more trying to see if there is any basic setup I should be looking into.
I'd appreciate any feedback you can share.
BR, Paulo
------------------------------
Paulo Silva
------------------------------