Hi
I'm having the same problem here now. Thing is I downloaded winscp 3.7.6 a while ago and tested it against some embedded linux systems we hare building. All worked well.
Today I tried again and got the "refused to start a shell error". Perhaps something changed in our target systems but I can still scp from a linux box to them.
I suspect some windows 2000 update has got in the way here.
This is the error box text:
Authentication log (see session log for details):
Using username "root".
Server refused to start a shell/command
And this is the log file:
. 2006-01-23 10:34:38.191 --------------------------------------------------------------------------
. 2006-01-23 10:34:38.201 WinSCP Version 3.7.6 (Build 306) (OS 5.0.2195 Service Pack 4)
. 2006-01-23 10:34:38.201 Login time: 23. tammikuuta 2006 10:34:38
. 2006-01-23 10:34:38.201 --------------------------------------------------------------------------
. 2006-01-23 10:34:38.201 Session name: root@10.164.56.61
. 2006-01-23 10:34:38.201 Host name: 10.164.56.61 (Port: 22)
. 2006-01-23 10:34:38.201 User name: root (Password: Yes, Key file: No)
. 2006-01-23 10:34:38.201 Transfer Protocol: SFTP (SCP)
. 2006-01-23 10:34:38.211 SSH protocol version: 2; Compression: No
. 2006-01-23 10:34:38.211 Agent forwarding: No; TIS/CryptoCard: Yes; KI: Yes; GSSAPI: No
. 2006-01-23 10:34:38.211 Ciphers: aes,blowfish,3des,WARN,des; Ssh2DES: No
. 2006-01-23 10:34:38.211 Ping type: -, Ping interval: 30 sec; Timeout: 15 sec
. 2006-01-23 10:34:38.211 SSH Bugs: -,-,-,-,-,-,-,-
. 2006-01-23 10:34:38.211 SFTP Bugs: -,-,-
. 2006-01-23 10:34:38.211 Proxy: none
. 2006-01-23 10:34:38.211 Return code variable: Autodetect; Lookup user groups: Yes
. 2006-01-23 10:34:38.211 Shell: default, EOL: 0
. 2006-01-23 10:34:38.211 Local directory: default, Remote directory: home, Update: No, Cache: Yes
. 2006-01-23 10:34:38.221 Cache directory changes: Yes, Permanent: Yes
. 2006-01-23 10:34:38.221 Clear aliases: Yes, Unset nat.vars: Yes, Resolve symlinks: Yes
. 2006-01-23 10:34:38.221 Alias LS: No, Ign LS warn: Yes, Scp1 Comp: No
. 2006-01-23 10:34:38.221 --------------------------------------------------------------------------
. 2006-01-23 10:34:38.231 Looking up host "10.164.56.61"
. 2006-01-23 10:34:38.231 Connecting to 10.164.56.61 port 22
. 2006-01-23 10:34:38.361 Waiting for the server to continue with the initialisation
. 2006-01-23 10:34:38.361 Looking for incoming data
. 2006-01-23 10:34:38.371 Select result is 1
. 2006-01-23 10:34:38.371 Server version: SSH-2.0-dropbear_0.44
. 2006-01-23 10:34:38.371 We claim version: SSH-2.0-WinSCP_release_3.7.6
. 2006-01-23 10:34:38.371 Using SSH protocol version 2
. 2006-01-23 10:34:38.371 Waiting for the server to continue with the initialisation
. 2006-01-23 10:34:38.371 Looking for incoming data
. 2006-01-23 10:34:38.371 Select result is 1
. 2006-01-23 10:34:38.401 Using Diffie-Hellman with standard group "group1"
. 2006-01-23 10:34:38.401 Doing Diffie-Hellman key exchange
. 2006-01-23 10:34:38.471 Waiting for the server to continue with the initialisation
. 2006-01-23 10:34:38.471 Looking for incoming data
. 2006-01-23 10:34:41.806 Select result is 1
. 2006-01-23 10:34:41.886 Host key fingerprint is:
. 2006-01-23 10:34:41.896 ssh-rsa 1040 e1:42:43:80:89:a2:a7:8a:fd:1c:96:e8:87:f7:1c:82
. 2006-01-23 10:34:41.896 Initialised AES-128 client->server encryption
. 2006-01-23 10:34:41.896 Initialised HMAC-SHA1 client->server MAC algorithm
. 2006-01-23 10:34:41.896 Waiting for the server to continue with the initialisation
. 2006-01-23 10:34:41.896 Looking for incoming data
. 2006-01-23 10:34:41.896 Select result is 1
. 2006-01-23 10:34:41.896 Initialised AES-128 server->client encryption
. 2006-01-23 10:34:41.896 Initialised HMAC-SHA1 server->client MAC algorithm
. 2006-01-23 10:34:41.896 Waiting for the server to continue with the initialisation
. 2006-01-23 10:34:41.906 Looking for incoming data
. 2006-01-23 10:34:41.906 Select result is 1
! 2006-01-23 10:34:41.906 Using username "root".
. 2006-01-23 10:34:41.906 Waiting for the server to continue with the initialisation
. 2006-01-23 10:34:41.906 Looking for incoming data
. 2006-01-23 10:34:41.906 Select result is 1
. 2006-01-23 10:34:41.906 Session password prompt (root@10.164.56.61's password: )
. 2006-01-23 10:34:41.916 Using stored password.
. 2006-01-23 10:34:41.916 Sent password
. 2006-01-23 10:34:41.916 Waiting for the server to continue with the initialisation
. 2006-01-23 10:34:41.916 Looking for incoming data
. 2006-01-23 10:34:41.956 Select result is 1
. 2006-01-23 10:34:41.956 Access granted
. 2006-01-23 10:34:41.956 Waiting for the server to continue with the initialisation
. 2006-01-23 10:34:41.956 Looking for incoming data
. 2006-01-23 10:34:41.956 Select result is 1
. 2006-01-23 10:34:41.956 Opened channel for session
. 2006-01-23 10:34:41.956 Waiting for the server to continue with the initialisation
. 2006-01-23 10:34:41.966 Looking for incoming data
. 2006-01-23 10:34:41.966 Select result is 1
. 2006-01-23 10:34:41.966 Server refused to start a shell/command
* 2006-01-23 10:34:41.996 (ESshFatal) Authentication failed.
* 2006-01-23 10:34:41.996 Authentication log (see session log for details):
* 2006-01-23 10:34:41.996 Using username "root".
* 2006-01-23 10:34:41.996
* 2006-01-23 10:34:41.996 Server refused to start a shell/command
In my log files I just get this:
Reply with quote