Topic "WinSCP to WINCE ssh server"

Author Message
MikeR99
[View user's profile]

Joined: 2011-05-09
Posts: 2
I have used winscp to copy files from a unix based system. I would like to use winscp to copy files from a wince system running an ssh server. The interface displays Host is not communicating and then Your shell is probably incompatible with the application (BASH is recommended). DOS is not one of the Shell: selections. What are my options?

Thank you.
Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25015
Location: Prague, Czechia
Please post a full log file showing the problem.

To generate log file, enable logging, log in to your server and do the operation and only the operation that causes the error. For posting extensive logs you may use pastebin or similar application. Note that passwords and passphrases not stored in the log. You may want to remove other data you consider sensitive though, such as host names, IP addresses, account names or file names (unless they are relevant to the problem). If you do not want to post the log publicly, you may email it to me. You will find my address (if you log in) in my forum profile. Please include link back to this topic in your email. Also note in this topic that you have emailed the log.
_________________
Martin Prikryl
MikeR99
[View user's profile]

Joined: 2011-05-09
Posts: 2
Thank you for your reply.

I run the following batch file with winscp/script

open ft5
option batch on
option confirm off
echo *WAVCOPY*
get \flash disk\postaudio\*.wav C:\temp\wav\
call echo *FINISHED*
exit


Log file below:

. 2011-05-11 08:10:13.911 --------------------------------------------------------------------------
. 2011-05-11 08:10:13.911 WinSCP Version 4.3.2 (Build 1201) (OS 6.0.6001 Service Pack 1)
. 2011-05-11 08:10:13.911 Login time: Wednesday, May 11, 2011 8:10:13 AM
. 2011-05-11 08:10:13.911 --------------------------------------------------------------------------
. 2011-05-11 08:10:13.911 Session name: ft5
. 2011-05-11 08:10:13.911 Host name: 192.168.1.76 (Port: 22)
. 2011-05-11 08:10:13.911 User name: root (Password: Yes, Key file: No)
. 2011-05-11 08:10:13.911 Tunnel: No
. 2011-05-11 08:10:13.911 Transfer Protocol: SCP
. 2011-05-11 08:10:13.911 Ping type: -, Ping interval: 30 sec; Timeout: 15 sec
. 2011-05-11 08:10:13.911 Proxy: none
. 2011-05-11 08:10:13.911 SSH protocol version: 2; Compression: No
. 2011-05-11 08:10:13.911 Bypass authentication: No
. 2011-05-11 08:10:13.911 Try agent: Yes; Agent forwarding: No; TIS/CryptoCard: No; KI: Yes; GSSAPI: No
. 2011-05-11 08:10:13.911 Ciphers: aes,blowfish,3des,WARN,arcfour,des; Ssh2DES: No
. 2011-05-11 08:10:13.911 SSH Bugs: -,-,-,-,-,-,-,-,-
. 2011-05-11 08:10:13.911 SFTP Bugs: -,-
. 2011-05-11 08:10:13.911 Return code variable: Autodetect; Lookup user groups: No
. 2011-05-11 08:10:13.911 Shell: default
. 2011-05-11 08:10:13.911 EOL: 0, UTF: 2
. 2011-05-11 08:10:13.911 Clear aliases: Yes, Unset nat.vars: Yes, Resolve symlinks: Yes
. 2011-05-11 08:10:13.911 LS: DIR, Ign LS warn: Yes, Scp1 Comp: No
. 2011-05-11 08:10:13.911 Local directory: default, Remote directory: /flash disk/persistent, Update: No, Cache: Yes
. 2011-05-11 08:10:13.911 Cache directory changes: Yes, Permanent: Yes
. 2011-05-11 08:10:13.911 DST mode: 1
. 2011-05-11 08:10:13.911 --------------------------------------------------------------------------
. 2011-05-11 08:10:13.911 Looking up host "192.168.1.76"
. 2011-05-11 08:10:13.911 Connecting to 192.168.1.76 port 22
. 2011-05-11 08:10:13.927 Selecting events 63 for socket 632
. 2011-05-11 08:10:13.927 Waiting for the server to continue with the initialisation
. 2011-05-11 08:10:13.927 Looking for incoming data
. 2011-05-11 08:10:13.927 Looking for network events
. 2011-05-11 08:10:13.927 Detected network event
. 2011-05-11 08:10:13.927 Enumerating network events for socket 632
. 2011-05-11 08:10:13.927 Enumerated 18 network events making 18 cumulative events for socket 632
. 2011-05-11 08:10:13.927 Handling network write event on socket 632 with error 0
. 2011-05-11 08:10:13.927 Handling network connect event on socket 632 with error 0
. 2011-05-11 08:10:13.927 Looking for network events
. 2011-05-11 08:10:13.958 Detected network event
. 2011-05-11 08:10:13.958 Enumerating network events for socket 632
. 2011-05-11 08:10:13.958 Enumerated 1 network events making 1 cumulative events for socket 632
. 2011-05-11 08:10:13.958 Handling network read event on socket 632 with error 0
. 2011-05-11 08:10:13.958 Server version: SSH-2.0-SSH server for windows CE. Based on OpenSSH_4.3
. 2011-05-11 08:10:13.958 We believe remote version has SSH-2 ignore bug
. 2011-05-11 08:10:13.958 Using SSH protocol version 2
. 2011-05-11 08:10:13.958 We claim version: SSH-2.0-WinSCP_release_4.3.2
. 2011-05-11 08:10:13.958 Waiting for the server to continue with the initialisation
. 2011-05-11 08:10:13.958 Looking for incoming data
. 2011-05-11 08:10:13.958 Looking for network events
. 2011-05-11 08:10:14.021 Detected network event
. 2011-05-11 08:10:14.021 Enumerating network events for socket 632
. 2011-05-11 08:10:14.021 Enumerated 1 network events making 1 cumulative events for socket 632
. 2011-05-11 08:10:14.021 Handling network read event on socket 632 with error 0
. 2011-05-11 08:10:14.021 Doing Diffie-Hellman group exchange
. 2011-05-11 08:10:14.021 Waiting for the server to continue with the initialisation
. 2011-05-11 08:10:14.021 Looking for incoming data
. 2011-05-11 08:10:14.021 Looking for network events
. 2011-05-11 08:10:14.379 Detected network event
. 2011-05-11 08:10:14.379 Enumerating network events for socket 632
. 2011-05-11 08:10:14.379 Enumerated 1 network events making 1 cumulative events for socket 632
. 2011-05-11 08:10:14.379 Handling network read event on socket 632 with error 0
. 2011-05-11 08:10:14.379 Doing Diffie-Hellman key exchange with hash SHA-1
. 2011-05-11 08:10:14.535 Waiting for the server to continue with the initialisation
. 2011-05-11 08:10:14.535 Looking for incoming data
. 2011-05-11 08:10:14.535 Looking for network events
. 2011-05-11 08:10:14.676 Detected network event
. 2011-05-11 08:10:14.676 Enumerating network events for socket 632
. 2011-05-11 08:10:14.676 Enumerated 1 network events making 1 cumulative events for socket 632
. 2011-05-11 08:10:14.676 Handling network read event on socket 632 with error 0
. 2011-05-11 08:10:14.801 Selecting events 63 for socket 632
. 2011-05-11 08:10:14.801 Host key fingerprint is:
. 2011-05-11 08:10:14.801 ssh-dss 768 84:a8:f7:33:73:ee:c9:96:08:5a:3d:a1:bf:06:48:92
. 2011-05-11 08:10:14.801 Initialised AES-256 SDCTR client->server encryption
. 2011-05-11 08:10:14.801 Initialised HMAC-SHA1 client->server MAC algorithm
. 2011-05-11 08:10:14.801 Initialised AES-256 SDCTR server->client encryption
. 2011-05-11 08:10:14.801 Initialised HMAC-SHA1 server->client MAC algorithm
. 2011-05-11 08:10:14.801 Waiting for the server to continue with the initialisation
. 2011-05-11 08:10:14.801 Looking for incoming data
. 2011-05-11 08:10:14.801 Looking for network events
. 2011-05-11 08:10:14.925 Detected network event
. 2011-05-11 08:10:14.925 Enumerating network events for socket 632
. 2011-05-11 08:10:14.925 Enumerated 1 network events making 1 cumulative events for socket 632
. 2011-05-11 08:10:14.925 Handling network read event on socket 632 with error 0
! 2011-05-11 08:10:14.925 Using username "root".
. 2011-05-11 08:10:14.925 Waiting for the server to continue with the initialisation
. 2011-05-11 08:10:14.925 Looking for incoming data
. 2011-05-11 08:10:14.925 Looking for network events
. 2011-05-11 08:10:14.972 Detected network event
. 2011-05-11 08:10:14.972 Enumerating network events for socket 632
. 2011-05-11 08:10:14.972 Enumerated 1 network events making 1 cumulative events for socket 632
. 2011-05-11 08:10:14.972 Handling network read event on socket 632 with error 0
. 2011-05-11 08:10:14.972 Waiting for the server to continue with the initialisation
. 2011-05-11 08:10:14.972 Looking for incoming data
. 2011-05-11 08:10:14.972 Looking for network events
. 2011-05-11 08:10:15.066 Detected network event
. 2011-05-11 08:10:15.066 Enumerating network events for socket 632
. 2011-05-11 08:10:15.066 Enumerated 1 network events making 1 cumulative events for socket 632
. 2011-05-11 08:10:15.066 Handling network read event on socket 632 with error 0
. 2011-05-11 08:10:15.066 Keyboard-interactive authentication refused
. 2011-05-11 08:10:15.066 Prompt (6, SSH password, , &Password: )
. 2011-05-11 08:10:15.066 Using stored password.
. 2011-05-11 08:10:15.066 Sent password
. 2011-05-11 08:10:15.066 Waiting for the server to continue with the initialisation
. 2011-05-11 08:10:15.066 Looking for incoming data
. 2011-05-11 08:10:15.066 Looking for network events
. 2011-05-11 08:10:15.097 Detected network event
. 2011-05-11 08:10:15.097 Enumerating network events for socket 632
. 2011-05-11 08:10:15.097 Enumerated 1 network events making 1 cumulative events for socket 632
. 2011-05-11 08:10:15.097 Handling network read event on socket 632 with error 0
. 2011-05-11 08:10:15.097 Access granted
. 2011-05-11 08:10:15.097 Waiting for the server to continue with the initialisation
. 2011-05-11 08:10:15.097 Looking for incoming data
. 2011-05-11 08:10:15.097 Looking for network events
. 2011-05-11 08:10:15.191 Detected network event
. 2011-05-11 08:10:15.191 Enumerating network events for socket 632
. 2011-05-11 08:10:15.191 Enumerated 1 network events making 1 cumulative events for socket 632
. 2011-05-11 08:10:15.191 Handling network read event on socket 632 with error 0
. 2011-05-11 08:10:15.191 Opened channel for session
. 2011-05-11 08:10:15.191 Waiting for the server to continue with the initialisation
. 2011-05-11 08:10:15.191 Looking for incoming data
. 2011-05-11 08:10:15.191 Looking for network events
. 2011-05-11 08:10:15.409 Detected network event
. 2011-05-11 08:10:15.409 Enumerating network events for socket 632
. 2011-05-11 08:10:15.409 Enumerated 1 network events making 1 cumulative events for socket 632
. 2011-05-11 08:10:15.409 Handling network read event on socket 632 with error 0
. 2011-05-11 08:10:15.409 Started a shell/command
. 2011-05-11 08:10:15.409 --------------------------------------------------------------------------
. 2011-05-11 08:10:15.409 Using SCP protocol.
. 2011-05-11 08:10:15.409 Doing startup conversation with host.
. 2011-05-11 08:10:15.409 Skipping host startup message (if any).
. 2011-05-11 08:10:15.409 Sent 36 bytes
. 2011-05-11 08:10:15.409 There are 0 bytes remaining in the send buffer
. 2011-05-11 08:10:15.409 Looking for network events
. 2011-05-11 08:10:15.409 Timeout waiting for network events
. 2011-05-11 08:10:15.409 Sent 1 bytes
. 2011-05-11 08:10:15.409 There are 0 bytes remaining in the send buffer
. 2011-05-11 08:10:15.409 Looking for network events
. 2011-05-11 08:10:15.409 Timeout waiting for network events
> 2011-05-11 08:10:15.409 echo "WinSCP: this is end-of-file:0"
. 2011-05-11 08:10:15.409 Waiting for another 1 bytes
. 2011-05-11 08:10:15.409 Looking for incoming data
. 2011-05-11 08:10:15.409 Looking for network events
. 2011-05-11 08:10:15.409 Detected network event
. 2011-05-11 08:10:15.409 Enumerating network events for socket 632
. 2011-05-11 08:10:15.409 Enumerated 1 network events making 1 cumulative events for socket 632
. 2011-05-11 08:10:15.409 Handling network read event on socket 632 with error 0
. 2011-05-11 08:10:15.409 Received 21 bytes (0)
. 2011-05-11 08:10:15.409 Read 1 bytes (20 pending)
. 2011-05-11 08:10:15.409 Read 17 bytes (3 pending)
< 2011-05-11 08:10:15.409 Pocket CMD v 5.0

. 2011-05-11 08:10:15.409 Read 3 bytes (0 pending)
. 2011-05-11 08:10:15.409 Waiting for another 1 bytes
. 2011-05-11 08:10:15.409 Looking for incoming data
. 2011-05-11 08:10:15.409 Looking for network events
. 2011-05-11 08:10:15.409 Detected network event
. 2011-05-11 08:10:15.409 Enumerating network events for socket 632
. 2011-05-11 08:10:15.409 Enumerated 1 network events making 1 cumulative events for socket 632
. 2011-05-11 08:10:15.409 Handling network read event on socket 632 with error 0
. 2011-05-11 08:10:15.409 Received 36 bytes (0)
. 2011-05-11 08:10:15.409 Read 1 bytes (35 pending)
. 2011-05-11 08:10:15.409 Read 32 bytes (3 pending)
< 2011-05-11 08:10:15.409 \> "WinSCP: this is end-of-file:0"

. 2011-05-11 08:10:15.409 Read 3 bytes (0 pending)
. 2011-05-11 08:10:15.409 Waiting for another 1 bytes
. 2011-05-11 08:10:15.409 Looking for incoming data
. 2011-05-11 08:10:15.409 Looking for network events
. 2011-05-11 08:10:30.416 Timeout waiting for network events
. 2011-05-11 08:10:30.416 Waiting for data timed out, asking user what to do.
. 2011-05-11 08:10:30.416 Asking user:
. 2011-05-11 08:10:30.416 Host is not communicating for 15 seconds.
. 2011-05-11 08:10:30.416
. 2011-05-11 08:10:30.416 Wait for another 15 seconds? ()
. 2011-05-11 08:10:31.040 Pooling for data in case they finally arrives
. 2011-05-11 08:10:31.040 Looking for network events
. 2011-05-11 08:10:31.040 Timeout waiting for network events
. 2011-05-11 08:10:31.664 Pooling for data in case they finally arrives
. 2011-05-11 08:10:31.664 Looking for network events
. 2011-05-11 08:10:31.664 Timeout waiting for network events
. 2011-05-11 08:10:32.288 Pooling for data in case they finally arrives
. 2011-05-11 08:10:32.288 Looking for network events
. 2011-05-11 08:10:32.288 Timeout waiting for network events
. 2011-05-11 08:10:32.912 Pooling for data in case they finally arrives
. 2011-05-11 08:10:32.912 Looking for network events
. 2011-05-11 08:10:32.912 Timeout waiting for network events
. 2011-05-11 08:10:33.536 Pooling for data in case they finally arrives
. 2011-05-11 08:10:33.536 Looking for network events
. 2011-05-11 08:10:33.536 Timeout waiting for network events
. 2011-05-11 08:10:34.160 Pooling for data in case they finally arrives
. 2011-05-11 08:10:34.160 Looking for network events
. 2011-05-11 08:10:34.160 Timeout waiting for network events
. 2011-05-11 08:10:34.784 Pooling for data in case they finally arrives
. 2011-05-11 08:10:34.784 Looking for network events
. 2011-05-11 08:10:34.784 Timeout waiting for network events
. 2011-05-11 08:10:34.784 Attempt to close connection due to fatal exception:
* 2011-05-11 08:10:34.784 Terminated by user.
. 2011-05-11 08:10:34.784 Closing connection.
. 2011-05-11 08:10:34.784 Sending special code: 12
. 2011-05-11 08:10:34.784 Sent EOF message
. 2011-05-11 08:10:34.784 Selecting events 0 for socket 632




prikryl wrote:
Please post a full log file showing the problem.

To generate log file, enable logging, log in to your server and do the operation and only the operation that causes the error. For posting extensive logs you may use pastebin or similar application. Note that passwords and passphrases not stored in the log. You may want to remove other data you consider sensitive though, such as host names, IP addresses, account names or file names (unless they are relevant to the problem). If you do not want to post the log publicly, you may email it to me. You will find my address (if you log in) in my forum profile. Please include link back to this topic in your email. Also note in this topic that you have emailed the log.
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25015
Location: Prague, Czechia
Unix echo command strips the double-quotes. While your's echo command does not. WinSCP cannot cope with that.
_________________
Martin Prikryl
Advertisements

You can post new topics in this forum






Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License