OSB SFTP - known_hosts file does not exist or it does not have read permiss
davinodJan 5 2011 — edited Jan 5 2011Hello folks,
I'm facing an error message when I run a service which send contents using SFTP connection on OSB to a remote server.
Caused By: com.sshtools.j2ssh.transport.InvalidHostFileException: known_hosts file does not exist or it does not have read permissions.
My known_hosts is in this directory:
C:\osb\domains\MYDOMAIN\osb\transports\sftp\known_hosts
As the Developer's Guide 11g OSB says, I had to create the "transports\sftp" directories. I gave all read permissions to known_hosts, tried to create the directories and file as administrator.
I have already done this SFTP connection work fine some months ago, but it was on ALSB. The only difference is the directory structure, which is C:\osb\domains\MYDOMAIN\alsb\transports\sftp
Also, I changed the connection to FTP and it is working my solution, but I need to do this in SFTP.
Can someone give me a tip in how I can track this issue ?
I'm using OSB 11gR1, Weblogic 10.3.3.0
Thanks in advance,
Davinod