[ 
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)

Reply via email to