|
From: MIDRANGE-L [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalfdata
Of Adams, Jay
Sent: Friday, May 4, 2018 9:30 AM
To: 'midrange-l@xxxxxxxxxxxx'
Subject: Setting Up sFTP for a Second Vendor - Host key verification
failedError
A couple of months ago I set up sFTP so I could send some extracted
from our ERP system to a vendor.in a
I set up userid USER1 and made the home directory: /home/USER1.
I created my ssh private and public keys and put them in /home/USER1
hidden directory called .ssh.vendor.
I exchanged public keys with the vendor and put his public key in
/home/USER1/.ssh.
I got it to work and we send them data every night using sFTP.
Now I want to set up sFTP for another vendor.
I set up userid USER2 and made its home directory /home/USER2.
I assume I can use the same ssh private and public keys for this
(Maybe this is a bad assumption and I need to generate another set ofknown_hosts.
keys?) So I copied the .ssh directory from /home/USER1 to /home/USER2
and deleted USER1's public key.
The .ssh directory for USER2 has in it: id_rsa, id_rsa.pub, and
time.
So now I am trying to connect to the vendor's FTP server for the first
On my IBMi I logged in under USER2.Connection
I called QP2TERM and executed command: sftp User2FTPServer.com.
I am getting the following error: Host key verification failed.
closedattachments)
What I am doing wrong?
Your help is appreciated,
Jay
Confidentiality Notice: This email from Qualicaps (including all
is for the sole use of the intended recipient(s) and may containconfidential
and privileged information. Any unauthorized review, use, disclosure,intended
copying, or distribution is strictly prohibited. If you are not the
recipient, please contact the sender by reply email and destroy allcopies of
the original message.service.
__________________________________________________________
____________
This email has been scanned by the Symantec Email Security.cloud
For more information please visit http://www.symanteccloud.comlist
_________________________________________________________
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe,
unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take
a moment to review the archives at
https://archive.midrange.com/midrange-l.
Please contact support@xxxxxxxxxxxx for any subscription related
questions.
Help support midrange.com by shopping at amazon.com with our affiliate
link: http://amzn.to/2dEadiD
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.