Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-20668

camel-sftp - Issue with autoCreateKnownHostsFile

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Not A Bug
    • 4.4.1
    • None
    • camel-sftp
    • 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:

      1. Configure camel-sftp route with autoCreateKnownHostsFile set to true.
      2. Start the application and establish an SFTP connection.
      3. 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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            saravanakumar Saravanakumar Selvaraj
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: