We had same issue recently.
Vendor surprised us with no connectivity due to a changed SSH key.
We needed to add their new SSH key to our knownhosts file.
They sent us this:
ssh-rsaAAAB3NzaC1yc2EAAAADAQABAAABAQDeCDpJPhILrVUzo......................//wZmE7o53X5uDIlgpeWk+UPDf4X2xzx+b67xXBub+gLi6CgPxQH/Tj52/BZNETFm7
We had to prepend their ftp addr like this:
[1]ftp.xxxxxx.com,99.999.99.212
ssh-rsaAAAB3NzaC1yc2EAAAADAQABAAABAQDeCDpJPhILrVUzo......................//wZmE7o53X5uDIlgpeWk+UPDf4X2xzx+b67xXBub+gLi6CgPxQH/Tj52/BZNETFm7
Jerry
On 7/1/2022 5:17 AM, Jim Franz wrote:
In 2020 i posted same issue, and the solution was to
1. remove the entry from the /home/user/.ssh/known_hosts file
2. connect QSH ssh -T [2]xxxxuser@xxxxxxxxxxxxx and accept
3. worked...
But this time i only get a "failed".
I did attempt to paste the key they sent me, but same error (although
wondering if requires any kind of "line feed").
Also message mentions a "fingerprint key", but assume that is their proof
to me.
Had only a 24 hr notice for this change.
Calling their support in case they have flagged this account for mult fails
- connects many times per day.
Thanks
Jim
@@@@@@@@@@@@@@@@@@@@@@
@ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @
@@@@@@@@@@@@@@@@@@@@@@
IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!
Someone could be eavesdropping on you right now (man-in-the-middle attack)!
It is also possible that a host key has just been changed.
The fingerprint for the RSA key sent by the remote host is
SHA256:+blahblahblah.
Please contact your system administrator.
Add correct host key in /home/XXXXUSER/.ssh/known_hosts to get rid of this
me
ssage.
Offending RSA key in /home/XXXXUSER/.ssh/known_hosts:1
RSA host key for sftp.usps.com has changed and you have requested strict
chec
king.
Host key verification failed.
Press ENTER to end terminal session.
--
Jerry Draper, Trilobyte Software Systems, since 1976
IBM I, Network, and Connectivity Specialists, LAN/WAN/VPN
Representing WinTronix, Synapse, HiT, and others .....
(415) 457-3431 . [3]www.trilosoft.com
References
Visible links
1.
ftp://ftp.xxxxxx.com,99.999.99.212/
2. mailto:xxxxuser@xxxxxxxxxxxxx
3.
http://www.trilosoft.com/
As an Amazon Associate we earn from qualifying purchases.