You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Saravanakumar Selvaraj (Jira)" <ji...@apache.org> on 2024/04/14 04:52:00 UTC

[jira] [Resolved] (CAMEL-20668) camel-sftp - Issue with autoCreateKnownHostsFile

     [ https://issues.apache.org/jira/browse/CAMEL-20668?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Saravanakumar Selvaraj resolved CAMEL-20668.
--------------------------------------------
    Resolution: Not A Bug

> camel-sftp - Issue with autoCreateKnownHostsFile 
> -------------------------------------------------
>
>                 Key: CAMEL-20668
>                 URL: https://issues.apache.org/jira/browse/CAMEL-20668
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-sftp
>    Affects Versions: 4.4.1
>            Reporter: Saravanakumar Selvaraj
>            Priority: Minor
>
> 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)