IBM Support

WINSCP not connecting when SFTP Adapter is set to SCP mode.

Troubleshooting


Problem

WINSCP not connecting when SFTP Adapter is set to SCP mode.

Symptom

WINSCP not connecting when SFTP Adapter is set to SCP mode.

Error Message

Log SCP

. 2010-03-09 14:33:35.330 Prompt (5, SSH server: password, Using keyboard-interactive authentication.
. 2010-03-09 14:33:35.330 Enter password for jochem, Password:)
. 2010-03-09 14:33:35.330 Using stored password.
. 2010-03-09 14:33:35.350 Access granted
. 2010-03-09 14:33:35.350 Opened channel for session
. 2010-03-09 14:33:35.470 Server refused to start a shell/command
* 2010-03-09 14:33:35.470 (ESshFatal) Server refused to start a shell/command
* 2010-03-09 14:33:35.470 Authentication log (see session log for details):
* 2010-03-09 14:33:35.470 Using username "jochem".
* 2010-03-09 14:33:35.470
* 2010-03-09 14:33:35.470 Authentication failed.

SFTP.log

DEBUG 000000000000 GLOBAL_SCOPE SSHSCIAccessManager.getRequiredAuthentications(b[],S) string=jochem
[2010-03-09 14:50:44.439] DEBUG 000000000000 GLOBAL_SCOPE SSHSCIAccessManager.canOpenChannel(b[],S,C) username=jochem channel=[com.maverick.sshd.UnsupportedSession@777205]
[2010-03-09 14:50:44.642] DEBUG 000000000000 GLOBAL_SCOPE SSHSCIAccessManager.canStartShell(b[],S) username=jochem
[2010-03-09 14:50:44.642] DEBUG 000000000000 GLOBAL_SCOPE SSHSCIAuthenticationProvider.logoffUser(b[],S,SA) entered with user[jochem].
[2010-03-09 14:50:44.642] ALL 000000000000 GLOBAL_SCOPE AUDIT: User [jochem] logged off.


In sftpcommon.log

I see

14:52:25.049] INFO 000000000000 GLOBAL_SCOPE ** MAVERICK SSHD ** Access Mananger has denied jochem from starting a shell
[2010-03-09 14:52:25.049] INFO 000000000000 GLOBAL_SCOPE ** MAVERICK SSHD ** SHELL_SESSION_STARTED|
SESSION_ID = [B@d0a6a9
[2010-03-09 14:52:25.049] INFO 000000000000 GLOBAL_SCOPE ** MAVERICK SSHD ** Shell failed
[2010-03-09 14:52:25.049] INFO 000000000000 GLOBAL_SCOPE ** MAVERICK SSHD ** Posting message com.maverick.sshd.Channel$_F to queue
 

[{"Product":{"code":"SS3JSW","label":"IBM Sterling B2B Integrator"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":"Not Applicable","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All","Edition":"","Line of Business":{"code":"LOB77","label":"Automation Platform"}}]

Log InLog in 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 Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.

Historical Number

NFX8546

Document Information

Modified date:
26 November 2019

UID

swg21556890