|
Pasting into known_hosts generally is bad.
You probably have 2 keys in there for same host.
If you can identfy those keys remove one or both.
Better procedure: When they change the key, connect manually and when it
fails ssh / sftp give you a command to remove the old key.
Then you connect manually and accept the key.
Then after that it works.
________________________________
From: MIDRANGE-L <midrange-l-bounces@xxxxxxxxxxxxxxxxxx> on behalf of Jim
Franz <franz9000@xxxxxxxxx>
Sent: Wednesday, August 14, 2024 1:27 PM
To: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxxxxxxxx>
Subject: sftp issue after updating remote server key
CAUTION: This email originated from outside of the organization. Do not
click links or open attachments unless you recognize the sender and know
the content is safe.
Have 1 sftp (we are the client) that still requires a password.
Was failing on initial connection.
Their server key changed last week.
I used ssh-keyscan to get their new key, and copy/paste into known_hosts
Now connecting, but the password code not working
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/midrange-l.
Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related
questions.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 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.