com.sshtools.j2ssh.transport.InvalidHostFileException: known_hosts file does not exist or it does not have read permissions.

Oracle Community | 999730 | 4 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    SFTP error in OSB

    Oracle Community | 4 years ago | 999730
    com.sshtools.j2ssh.transport.InvalidHostFileException: known_hosts file does not exist or it does not have read permissions.
  2. 0

    OSB SFTP transport not finding known_hosts for proxy service

    Oracle Community | 6 years ago | miklo025
    com.sshtools.j2ssh.transport.InvalidHostFileException: known_hosts file does not exist or it does not have read permissions.

    Root Cause Analysis

    1. com.sshtools.j2ssh.transport.InvalidHostFileException

      known_hosts file does not exist or it does not have read permissions.

      at com.bea.wli.sb.transports.sftp.client.KnownHostVerifier.validateKnownHosts()
    2. com.bea.wli
      SFTPWorkPartitioningAgent.getSftpResource
      1. com.bea.wli.sb.transports.sftp.client.KnownHostVerifier.validateKnownHosts(KnownHostVerifier.java:144)
      2. com.bea.wli.sb.transports.sftp.client.SFTPClient.authenticate(SFTPClient.java:108)
      3. com.bea.wli.sb.transports.sftp.connector.SFTPResource.<init>(SFTPResource.java:78)
      4. com.bea.wli.sb.transports.sftp.resource.SFTPUtils.createSFTPResource(SFTPUtils.java:170)
      5. com.bea.wli.sb.transports.sftp.connector.SFTPWorkPartitioningAgent.getSftpResource(SFTPWorkPartitioningAgent.java:148)
      5 frames