WinSCP Version 4.2.8(Build 818)
Windows XP on virtual server
Error occurs on all transfer protocols
Error occurs on gui and scripting/automation
Your Shell is probably incompatible with the application (BASH recommended)
Script:
@echo off
echo Generate temporary script to upload files
echo option batch on > script.tmp
echo option confirm off >> script.tmp
::************* Comment ********************::
:: open session using second parameter as
:: password and first parameter as host
::
:: Syntax: open username:password@host:port
::******************************************::
echo open root:%2@%1:2222 >> script.tmp
echo cd /root >> script.tmp
::************* Comment ********************::
:: loop to put all files passed as
:: third parameter or higher onto
:: the Grid Router
::******************************************::
:Loop
if [%3]==[] goto LoopEnd
echo put %3 >> script.tmp
::************** Comment *****************::
:: shifts the parameters to the left until
:: no more left.
::****************************************::
shift
goto Loop
:LoopEnd
echo exit >> script.tmp
color 2f
echo Executing script
winscp.exe /script=script.tmp
color
if %ERRORLEVEL% NEQ 0 echo ERROR!
echo Delete temporary script
del script.tmp
pause
Log: (IP address is not include erased for security purposes)
<?xml version="1.0" encoding="UTF-8"?>
<session xmlns="https://winscp.net/schema/session/1.0" name="root@10.149.239.17" start="2010-08-03T20:42:27.757Z">
</session>
. 2010-08-03 17:43:38.835 --------------------------------------------------------------------------
. 2010-08-03 17:43:38.835 WinSCP Version 4.2.8 (Build 818) (OS 5.2.3790 Service Pack 2)
. 2010-08-03 17:43:38.835 Login time: Tuesday, August 03, 2010 5:43:38 PM
. 2010-08-03 17:43:38.835 --------------------------------------------------------------------------
. 2010-08-03 17:43:38.835 Session name: root@0.0.0.0
. 2010-08-03 17:43:38.835 Host name: 0.0.0.0 (Port: 2222)
. 2010-08-03 17:43:38.835 User name: root (Password: Yes, Key file: No)
. 2010-08-03 17:43:38.835 Tunnel: No
. 2010-08-03 17:43:38.835 Transfer Protocol: SFTP (SCP)
. 2010-08-03 17:43:38.835 Ping type: -, Ping interval: 30 sec; Timeout: 15 sec
. 2010-08-03 17:43:38.835 Proxy: none
. 2010-08-03 17:43:38.835 SSH protocol version: 2; Compression: No
. 2010-08-03 17:43:38.835 Bypass authentication: No
. 2010-08-03 17:43:38.835 Try agent: Yes; Agent forwarding: No; TIS/CryptoCard: No; KI: Yes; GSSAPI: No
. 2010-08-03 17:43:38.835 Ciphers: aes,blowfish,3des,WARN,arcfour,des; Ssh2DES: No
. 2010-08-03 17:43:38.835 SSH Bugs: -,-,-,-,-,-,-,-,-
. 2010-08-03 17:43:38.835 SFTP Bugs: -,-
. 2010-08-03 17:43:38.835 Return code variable: Autodetect; Lookup user groups: Yes
. 2010-08-03 17:43:38.835 Shell: default
. 2010-08-03 17:43:38.835 EOL: 0, UTF: 2
. 2010-08-03 17:43:38.835 Clear aliases: Yes, Unset nat.vars: Yes, Resolve symlinks: Yes
. 2010-08-03 17:43:38.835 LS: ls -la, Ign LS warn: Yes, Scp1 Comp: No
. 2010-08-03 17:43:38.835 Local directory: default, Remote directory: home, Update: No, Cache: Yes
. 2010-08-03 17:43:38.835 Cache directory changes: Yes, Permanent: Yes
. 2010-08-03 17:43:38.835 DST mode: 1
. 2010-08-03 17:43:38.835 --------------------------------------------------------------------------
. 2010-08-03 17:43:38.851 Looking up host "0.0.0.0"
. 2010-08-03 17:43:38.851 Connecting to 0.0.0.0 port 2222
. 2010-08-03 17:43:39.273 Server version: SSH-2.0-OpenSSH_5.0
. 2010-08-03 17:43:39.273 We believe remote version has SSH-2 ignore bug
. 2010-08-03 17:43:39.273 Using SSH protocol version 2
. 2010-08-03 17:43:39.273 We claim version: SSH-2.0-WinSCP_release_4.2.8
. 2010-08-03 17:43:39.491 Doing Diffie-Hellman group exchange
. 2010-08-03 17:43:39.788 Doing Diffie-Hellman key exchange with hash SHA-1
. 2010-08-03 17:43:41.413 Host key fingerprint is:
. 2010-08-03 17:43:41.413 ssh-rsa 2048 33:17:53:ca:0f:1c:7f:6a:2f:ce:0c:09:e7:5c:aa:71
. 2010-08-03 17:43:41.413 Initialised AES-256 SDCTR client->server encryption
. 2010-08-03 17:43:41.413 Initialised HMAC-SHA1 client->server MAC algorithm
. 2010-08-03 17:43:41.413 Initialised AES-256 SDCTR server->client encryption
. 2010-08-03 17:43:41.413 Initialised HMAC-SHA1 server->client MAC algorithm
! 2010-08-03 17:43:41.694 Using username "root".
. 2010-08-03 17:43:42.023 Keyboard-interactive authentication refused
. 2010-08-03 17:43:42.023 Prompt (6, SSH password, , &Password: )
. 2010-08-03 17:43:42.023 Using stored password.
. 2010-08-03 17:43:42.023 Sent password
. 2010-08-03 17:43:42.163 Access granted
. 2010-08-03 17:43:42.319 Opened channel for session
. 2010-08-03 17:43:42.648 Primary command failed; attempting fallback
. 2010-08-03 17:43:42.819 Started a shell/command
. 2010-08-03 17:43:42.819 --------------------------------------------------------------------------
. 2010-08-03 17:43:42.819 Using SCP protocol.
. 2010-08-03 17:43:42.819 Doing startup conversation with host.
. 2010-08-03 17:43:42.819 Skipping host startup message (if any).
> 2010-08-03 17:43:42.819 echo "WinSCP: this is end-of-file:0"
. 2010-08-03 17:43:57.819 Waiting for data timed out, asking user what to do.
. 2010-08-03 17:43:57.819 Asking user:
. 2010-08-03 17:43:57.819 Host is not communicating for 15 seconds.
. 2010-08-03 17:43:57.819
. 2010-08-03 17:43:57.819 Wait for another 15 seconds? ()
. 2010-08-03 17:43:59.757 Attempt to close connection due to fatal exception:
* 2010-08-03 17:43:59.757 Terminated by user.
. 2010-08-03 17:43:59.757 Closing connection.
. 2010-08-03 17:43:59.757 Sending special code: 12
. 2010-08-03 17:43:59.757 Sent EOF message
* 2010-08-03 17:43:59.757 (ESshFatal) Terminated by user.
* 2010-08-03 17:43:59.757 Error skipping startup message. Your shell is probably incompatible with the application (BASH is recommended).
I do not understand why I'm getting this error on my virtual machine but not on my PC. I've set my MTU size to 1395 where the ping is responing using "ping ipaddress -f -l 1395" thats what I saw from my research online. I'm clueless now as to the fix to this problem.
Thanks, for any suggestions