STP issue with Script
Here is the log:
. 2009-05-07 16:20:21.089 --------------------------------------------------------------------------
. 2009-05-07 16:20:21.089 WinSCP Version 4.1.6 (Build 412) (OS 5.2.3790 Service Pack 2)
. 2009-05-07 16:20:21.089 Login time: Thursday, May 07, 2009 4:20:21 PM
. 2009-05-07 16:20:21.089 --------------------------------------------------------------------------
. 2009-05-07 16:20:21.089 Session name: xxxxx
. 2009-05-07 16:20:21.089 Host name: xxx (Port: 22)
. 2009-05-07 16:20:21.089 User name: xxx (Password: Yes, Key file: No)
. 2009-05-07 16:20:21.089 Tunnel: No
. 2009-05-07 16:20:21.089 Transfer Protocol: SFTP
. 2009-05-07 16:20:21.089 Ping type: -, Ping interval: 30 sec; Timeout: 15 sec
. 2009-05-07 16:20:21.104 Proxy: none
. 2009-05-07 16:20:21.104 SSH protocol version: 2; Compression: No
. 2009-05-07 16:20:21.104 Bypass authentication: No
. 2009-05-07 16:20:21.104 Try agent: Yes; Agent forwarding: No; TIS/CryptoCard: No; KI: Yes; GSSAPI: No
. 2009-05-07 16:20:21.104 Ciphers: aes,blowfish,3des,WARN,arcfour,des; Ssh2DES: No
. 2009-05-07 16:20:21.104 SSH Bugs: -,-,-,-,-,-,-,-
. 2009-05-07 16:20:21.104 SFTP Bugs: -,-
. 2009-05-07 16:20:21.104 Return code variable: Autodetect; Lookup user groups: Yes
. 2009-05-07 16:20:21.104 Shell: default, EOL: 0
. 2009-05-07 16:20:21.104 Clear aliases: Yes, Unset nat.vars: Yes, Resolve symlinks: Yes
. 2009-05-07 16:20:21.104 LS: ls -la, Ign LS warn: Yes, Scp1 Comp: No
. 2009-05-07 16:20:21.104 Local directory: default, Remote directory: home, Update: No, Cache: Yes
. 2009-05-07 16:20:21.104 Cache directory changes: Yes, Permanent: Yes
. 2009-05-07 16:20:21.104 DST mode: 1
. 2009-05-07 16:20:21.104 --------------------------------------------------------------------------
. 2009-05-07 16:20:21.104 Looking up host "xxx"
. 2009-05-07 16:20:23.245 Connecting to 137.236.181.10 port 22
. 2009-05-07 16:20:23.339 Server version: SSH-2.0-OpenSSH_3.7.1p2 (with Xpedite proprietary back-end)
. 2009-05-07 16:20:23.339 We claim version: SSH-2.0-WinSCP_release_4.1.6
. 2009-05-07 16:20:23.354 SSPI: acquired credentials for: xxx
. 2009-05-07 16:20:23.354 Constructed service principal name 'host/xxx'
. 2009-05-07 16:20:23.354 GSSKEX disabled: The specified target is unknown or unreachable
. 2009-05-07 16:20:23.354 Using SSH protocol version 2
. 2009-05-07 16:20:23.385 Doing Diffie-Hellman group exchange
. 2009-05-07 16:20:23.589 Doing Diffie-Hellman key exchange with hash SHA-1
. 2009-05-07 16:20:23.682 Host key fingerprint is:
. 2009-05-07 16:20:23.682 ssh-rsa 1024 23:a6:04:df:25:69:b8:e6:4a:64:d6:ea:53:9e:de:d3
. 2009-05-07 16:20:23.682 Initialised AES-128 CBC client->server encryption
. 2009-05-07 16:20:23.682 Initialised HMAC-SHA1 client->server MAC algorithm
. 2009-05-07 16:20:23.682 Initialised AES-128 CBC server->client encryption
. 2009-05-07 16:20:23.682 Initialised HMAC-SHA1 server->client MAC algorithm
! 2009-05-07 16:20:23.885 Using username "xxx".
. 2009-05-07 16:20:23.979 Keyboard-interactive authentication refused
. 2009-05-07 16:20:23.979 Prompt (6, SSH password, , &Password: )
. 2009-05-07 16:20:23.979 Using stored password.
. 2009-05-07 16:20:23.979 Sent password
. 2009-05-07 16:20:24.073 Access granted
. 2009-05-07 16:20:24.120 Opened channel for session
. 2009-05-07 16:20:24.182 Started a shell/command
. 2009-05-07 16:20:24.182 --------------------------------------------------------------------------
. 2009-05-07 16:20:24.182 Using SFTP protocol.
. 2009-05-07 16:20:24.182 Doing startup conversation with host.
> 2009-05-07 16:20:24.182 Type: SSH_FXP_INIT, Size: 5, Number: -1
< 2009-05-07 16:20:24.339 Type: SSH_FXP_VERSION, Size: 5, Number: -1
. 2009-05-07 16:20:24.339 SFTP version 3 negotiated.
. 2009-05-07 16:20:24.339 We believe the server has signed timestamps bug
. 2009-05-07 16:20:24.339 We will use UTF-8 strings for status messages only
. 2009-05-07 16:20:24.339 Limiting packet size to OpenSSH sftp-server limit of 262148 bytes
. 2009-05-07 16:20:24.339 Getting current directory name.
. 2009-05-07 16:20:24.339 Getting real path for '.'
> 2009-05-07 16:20:24.339 Type: SSH_FXP_REALPATH, Size: 10, Number: 16
< 2009-05-07 16:20:24.385 Type: SSH_FXP_NAME, Size: 23, Number: 16
. 2009-05-07 16:20:24.385 Real path is '/'
. 2009-05-07 16:20:24.385 Startup conversation with host finished.
. 2009-05-07 16:20:24.385 Listing directory "/".
> 2009-05-07 16:20:24.385 Type: SSH_FXP_OPENDIR, Size: 10, Number: 267
< 2009-05-07 16:20:24.651 Type: SSH_FXP_HANDLE, Size: 13, Number: 267
> 2009-05-07 16:20:24.651 Type: SSH_FXP_READDIR, Size: 13, Number: 524
< 2009-05-07 16:20:25.167 Type: SSH_FXP_NAME, Size: 5859, Number: 524
> 2009-05-07 16:20:25.167 Type: SSH_FXP_READDIR, Size: 13, Number: 780
< 2009-05-07 16:20:25.214 Type: SSH_FXP_STATUS, Size: 28, Number: 780
< 2009-05-07 16:20:25.214 Status/error code: 1
> 2009-05-07 16:20:25.214 Type: SSH_FXP_CLOSE, Size: 13, Number: 1028
. 2009-05-07 16:20:25.214 Closing connection.
. 2009-05-07 16:20:25.214 Sending special code: 12
. 2009-05-07 16:20:25.214 Sent EOF message