× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



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 "RSA key
fingerprint" message in batch, wanting to confirm the fingerprint. This is
a batch user, so doing interactive SFTP is impractical. I can do
interactive SFTP as my user.
Therefore, you should have a record for the server in the .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.

Is there an easy way to confirm the key? Is there some way to copy from my
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 thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.