You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Otavio Rodolfo Piske (Jira)" <ji...@apache.org> on 2023/06/12 13:48:00 UTC

[jira] [Updated] (CAMEL-19438) camel-sftp: tests cause entry pollution on user's known hosts file

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

Otavio Rodolfo Piske updated CAMEL-19438:
-----------------------------------------
    Description: 
Running the SFTP tests from camel-ftp causes several new entries to be added to the file: 
{noformat}
$HOME/.ssh/known_hosts
{noformat}
 

This happens because some tests are missing the URI setting "{_}knownHostsFile{_}". These tests should be modified to include this as part of the URI:
{code:java}
"&knownHostsFile=" + service.getKnownHostsFile()
{code}

  was:
Running the SFTP tests from camel-ftp causes several new entries to be added to the 
{noformat}
$HOME/.ssh/known_hosts
{noformat}
 file. This happens because some tests are missing the URI setting "_knownHostsFile_". These tests should be modified to include this as part of the URI:
{code:java}
"&knownHostsFile=" + service.getKnownHostsFile()
{code}


> camel-sftp: tests cause entry pollution on user's known hosts file
> ------------------------------------------------------------------
>
>                 Key: CAMEL-19438
>                 URL: https://issues.apache.org/jira/browse/CAMEL-19438
>             Project: Camel
>          Issue Type: Task
>          Components: camel-ftp
>            Reporter: Otavio Rodolfo Piske
>            Priority: Major
>
> Running the SFTP tests from camel-ftp causes several new entries to be added to the file: 
> {noformat}
> $HOME/.ssh/known_hosts
> {noformat}
>  
> This happens because some tests are missing the URI setting "{_}knownHostsFile{_}". These tests should be modified to include this as part of the URI:
> {code:java}
> "&knownHostsFile=" + service.getKnownHostsFile()
> {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)