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

camel-sftp: tests cause entry pollution on user's known hosts file

    XMLWordPrintableJSON

Details

    • Novice

    Description

      Running the SFTP tests from camel-ftp causes several new entries to be added to the file:

      $HOME/.ssh/known_hosts
      

       

      This happens because some tests are missing the URI setting "knownHostsFile". These tests should be modified to include this as part of the URI:

      "&knownHostsFile=" + service.getKnownHostsFile()
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              orpiske Otavio Rodolfo Piske
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: