Have you connected to the machine via ssh first? That will ask you to cache the remote server's host key, which is what this looks like.
-----Original Message-----
From: MIDRANGE-L [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Kevin Adler
Sent: Friday, January 27, 2017 4:33 PM
To: Midrange Systems Technical Discussion
Subject: [EXTERNAL] Re: SFTP Host key verification failed.
sftp -vvv -b /home/temporary/px200c4.txt EMARUSER@xxxxxxxxxxxxxxxxxxxxx
<snip>
debug1: Server host key: ssh-rsa
SHA256:Q74xuXl9kDX4Vm3Ocg0LSqouE4EpME586V87O
q5UXgI
Host key verification failed.
Connection closed
This is saying that the host server's key (the destination system you're
connecting to) has changed from what it was when you previously connected
to it. If you did not use the -b switch on sftp, it would probably give
you a big banner warning about this. Someone may have changed the host key
on the system you're connecting to or it's possible someone is doing a
Man-in-the-Middle. I would check with whoever runs SUITESFTP.EMARSYS.NET
to validate that their host key is really
Q74xuXl9kDX4Vm3Ocg0LSqouE4EpME586V87Oq5UXgI
To remove the old key run:
ssh-keygen -R SUITESFTP.EMARSYS.NET
Then the next time you connect, it will ask you to validate the host key
is valid and store it in the .ssh/known_hosts file for verification on
subsequent connection attempts.
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit:
https://urldefense.proofpoint.com/v2/url?u=http-3A__lists.midrange.com_mailman_listinfo_midrange-2Dl&d=DwICAg&c=3crv0V5Gxwbo5hXTsiQI6g&r=PkbfvkKxtcDeNvEOH5BjJL4QM0EQmj0cLL71lzl405I&m=KlGHJ9QpFId0PKm00n3BiaWfWuH5UFg-yxWDpCtf7Ho&s=L22hOtl5sKhN9FAwMs-SHWAOCsCAsSd5iq97iYslTo8&e=
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at
https://urldefense.proofpoint.com/v2/url?u=http-3A__archive.midrange.com_midrange-2Dl&d=DwICAg&c=3crv0V5Gxwbo5hXTsiQI6g&r=PkbfvkKxtcDeNvEOH5BjJL4QM0EQmj0cLL71lzl405I&m=KlGHJ9QpFId0PKm00n3BiaWfWuH5UFg-yxWDpCtf7Ho&s=GQyThv97pZQk3-2PSAllYMsNet3FlOWXbyxFi7NPs5c&e= .
Please contact support@xxxxxxxxxxxx for any subscription related questions.
Help support midrange.com by shopping at amazon.com with our affiliate link:
https://urldefense.proofpoint.com/v2/url?u=http-3A__amzn.to_2dEadiD&d=DwICAg&c=3crv0V5Gxwbo5hXTsiQI6g&r=PkbfvkKxtcDeNvEOH5BjJL4QM0EQmj0cLL71lzl405I&m=KlGHJ9QpFId0PKm00n3BiaWfWuH5UFg-yxWDpCtf7Ho&s=k6libfPworE5AwaQEwRKwSdO5_K4aPi61-CDE-WLtyE&e=
________________________________
Notice from Bob Evans Farms: This e-mail message, including any attachments, may contain confidential information that is intended only for the person or entity to which it is addressed. Any unauthorized review, use, disclosure or distribution is strictly prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message and any attachments.
As an Amazon Associate we earn from qualifying purchases.