OSB Proxy service with SFTP Transport failed with error “Authentication Failed”

Issue –> If you are using passwordAuthentication for SFTP in Oracle Service Bus (OSB)  you will get this kind of errors .

Error –>

com.bea.wli.sb.transports.TransportException: Authentication Failed
at com.bea.wli.sb.transports.sftp.connector.SFTPWorkPartitioningAgent.execute(SFTPWorkPartitioningAgent.java:125)
at com.bea.wli.sb.transports.poller.TransportTimerListener.run(TransportTimerListener.java:74)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)

Solution –>

Regarding the “PasswordAuthentication” flag in sshd_config file at /etc/ssh  – this one must be set to true if you need password authentication:

Some additional information on password authentication:

PasswordAuthentication – Specifies whether password authentication is allowed. The default is “yes”.

1.) The option PasswordAuthentication specifies whether we should use password-based authentication. For strong security, this option must always be set to yes.

2.) The password will be sent encrypted and can’t be easily sniffed.
Public keys are better, however, since there you never send the key at all.

3.) It’s tunneled clear text passwords. They are encrypted using the host keys.


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s