Saravanakumar Selvaraj created CAMEL-20668:
----------------------------------------------
Summary: camel-sftp - Issue with autoCreateKnownHostsFile
Key: CAMEL-20668
URL: https://issues.apache.org/jira/browse/CAMEL-20668
Project: Camel
Issue Type: Bug
Reporter: Saravanakumar Selvaraj
I'm encountering a problem with {{camel-sftp}} where the
{{autoCreateKnownHostsFile}} option doesn't seem to be functioning as expected.
According to the documentation, setting {{autoCreateKnownHostsFile}} to
{{true}} should automatically create the known hosts file if it doesn't exist.
However, in my testing, the file is not being created as expected.
*Steps to Reproduce:*
# Configure {{camel-sftp}} route with {{autoCreateKnownHostsFile}} set to
{{{}true{}}}.
# Start the application and establish an SFTP connection.
# Check if the known hosts file is created in the specified location.
*Expected Behavior:* The {{autoCreateKnownHostsFile}} option should create the
known hosts file if it doesn't exist, ensuring that host key verification works
as intended.
*Actual Behavior:* The known hosts file is not created automatically, leading
to host key verification issues.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)