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 MessageLog 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
Log InLog in to view more of this document
Historical Number
NFX8546
Was this topic helpful?
Document Information
Modified date:
26 November 2019
UID
swg21556890