Skip to Main Content

Integration

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

OSB SFTP - known_hosts file does not exist or it does not have read permiss

davinodJan 5 2011 — edited Jan 5 2011
Hello 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
This post has been answered by Anuj Dwivedi-Oracle on Jan 5 2011
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 2 2011
Added on Jan 5 2011
2 comments
2,240 views