Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Not A Bug
-
4.4.1
-
None
-
None
-
Unknown
Description
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.