|
from: Marc Rauzier <marc.rauzier@xxxxxxxxx>
subject: Re: Batch SFTP fingerprint
Le 12/07/2022 ? 16:51, Justin Taylor a ?crit?:
I have a batch process that's trying to do SFTP. It's getting an "RSAkey
fingerprint" message in batch, wanting to confirm the fingerprint. Thisis
a batch user, so doing interactive SFTP is impractical. I can doTherefore, you should have a record for the server in the
interactive SFTP as my user.
.ssh/known_hosts file of the home directory of your user profile. You
can identify the record with the sftp server's IP or name.
my
Is there an easy way to confirm the key? Is there some way to copy from
user?
You can try to copy the record related to the sftp server from your
known_hosts file to the one of the batch user. Of course, copy only the
record not the entire file, and add it to or replace the existing one in
the batch user .ssh/known_hosts file.
I did it a couple of times with success.
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.