IBM Support

sFTP connection failing using two-factor authentication

Troubleshooting


Problem

When trying to establish a sFTP connection from IBM Sterling B2B Integrator (ISBI) to a remote server that requires two-factor authentication (password and public key), the connection fails with error: "Cannot Authenticate)

Symptom

The BP execution shows the following error at the sFTP client begin session:

<STATUS_RPT>SFTPClientBeginSession failed.
Error Message = [Cannot authenticate.]

The sFTP client log shows that both, public key and password authentication fail:

[2016-04-25 10:14:07.829] DEBUG Session.authToServer(S,P,P,B) pass authentication result 2
[2016-04-25 10:14:07.886] DEBUG Session.authToServer(S,P,P,B) pk authentication result 2
[2016-04-25 10:14:07.886] DEBUG Session.authToServer(S,P,P,B) return with false
[2016-04-25 10:14:07.886] DEBUG Session.beginSession(BSR,R,PT) runnable couldn't authenticate.
[2016-04-25 10:14:07.886] ERROR Session.failedSequence(S,R) Cannot authenticate.

[{"Product":{"code":"SS3JSW","label":"IBM Sterling B2B Integrator"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"Adapters","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF010","label":"HP-UX"},{"code":"PF012","label":"IBM i"},{"code":"PF014","label":"iOS"},{"code":"PF016","label":"Linux"},{"code":"PF027","label":"Solaris"},{"code":"PF033","label":"Windows"}],"Version":"All","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]

To view more of this document

This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use the link to actual document below to access the full document. You will be asked to log on if you are not already logged in. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.

Document Information

More support for:
IBM Sterling B2B Integrator

Software version:
All

Operating system(s):
AIX, HP-UX, IBM i, iOS, Linux, Solaris, Windows

Document number:
277469

Modified date:
11 February 2020

UID

swg21982093

Manage My Notification Subscriptions