Uploaded image for project: 'Commons VFS'
  1. Commons VFS
  2. VFS-83

SFTP - FileSystemOption 'compression' is set to value of 'strictHostKeyChecking'

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • None
    • None
    • All

    Description

      In org.apache.commons.vfs.provider.sftp.SftpClientFactory, 'compression' parameter is set to the value of the 'strictHostKeyChecking' FileSystemOption.

      //set StrictHostKeyChecking property
      String strictHostKeyChecking = SftpFileSystemConfigBuilder.getInstance().getStrictHostKeyChecking(fileSystemOptions);
      if (strictHostKeyChecking != null)

      { config.setProperty("StrictHostKeyChecking", strictHostKeyChecking); }

      //set compression property
      String compression = SftpFileSystemConfigBuilder.getInstance().getCompression(fileSystemOptions);
      if (compression != null)

      { config.setProperty("compression.s2c", strictHostKeyChecking); // compression!! config.setProperty("compression.c2s", strictHostKeyChecking); // compression!! }

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            ckabaara Colin Kabaara
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment