My Oracle Support Banner

SFTP Test Connection Fails For Private Key Authentication (Could not establish connection. oracle.xdo.delivery.ssh2.SshException: Exception in authenticating) (Doc ID 2670071.1)

Last updated on MAY 01, 2023

Applies to:

BI Publisher (formerly XML Publisher) - Version 12.2 and later
Information in this document applies to any platform.

Symptoms

On : 12.2 version, Enterprise : Scheduler

Connection to sftp server fails with "Could not establish connection. oracle.xdo.delivery.ssh2.SshException: Exception in authenticating"


ERROR
-----------------------
"Could not establish connection. oracle.xdo.delivery.ssh2.SshException: Exception in authenticating"



STEPS
-----------------------
1) Navigate to BI Publisher => Administration => FTP => Add Server
2) Enable 'Use Secure FTP' option
3) Choose 'Private Key' as 'Authentication Type' .
4) Give valid values for 'Private Key File' and 'Private Key Password' .
5) Test Connection fails with Authentication Error.


 

Changes

 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.