WinSCP Version 5.1.1 Build 2735
I found one reference to what appears to be the same problem here:
https://winscp.net/forum/viewtopic.php?t=5260
Unfortunately that poster neglected to post how he got things working. Although since that person was also connecting to a linode server, my guess is that WinSCP is working fine and I need to make a change on the server side. I do have root access to this server. But I have no idea what I would need to change.
WinSCP log file. (asterisks are mine)
. 2012-11-08 09:14:25.195 --------------------------------------------------------------------------
. 2012-11-08 09:14:25.196 WinSCP Version 5.1.1 (Build 2735) (OS 6.1.7601 Service Pack 1)
. 2012-11-08 09:14:25.196 Configuration: HKEY_CURRENT_USER\Software\Martin Prikryl\WinSCP 2\
. 2012-11-08 09:14:25.196 Local account: ******
. 2012-11-08 09:14:25.196 Working directory: C:\Program Files (x86)\WinSCP
. 2012-11-08 09:14:25.196 Command-line: "C:\Program Files (x86)\WinSCP\WinSCP.exe"
. 2012-11-08 09:14:25.196 Time zone: Current: GMT-5, Standard: GMT-5, DST: GMT-4, DST Start: 3/11/2012, DST End: 11/4/2012
. 2012-11-08 09:14:25.196 Login time: Thursday, November 08, 2012 9:14:25 AM
. 2012-11-08 09:14:25.196 --------------------------------------------------------------------------
. 2012-11-08 09:14:25.196 Session name: **********.linode.com (Modified stored session)
. 2012-11-08 09:14:25.196 Host name: *******.linode.com (Port: 22)
. 2012-11-08 09:14:25.196 User name: ******** (Password: Yes, Key file: No)
. 2012-11-08 09:14:25.196 Tunnel: No
. 2012-11-08 09:14:25.197 Transfer Protocol: SCP
. 2012-11-08 09:14:25.197 Ping type: -, Ping interval: 30 sec; Timeout: 15 sec
. 2012-11-08 09:14:25.197 Proxy: none
. 2012-11-08 09:14:25.197 SSH protocol version: 2; Compression: No
. 2012-11-08 09:14:25.197 Bypass authentication: No
. 2012-11-08 09:14:25.197 Try agent: Yes; Agent forwarding: No; TIS/CryptoCard: No; KI: Yes; GSSAPI: No
. 2012-11-08 09:14:25.197 Ciphers: aes,blowfish,3des,WARN,arcfour,des; Ssh2DES: No
. 2012-11-08 09:14:25.197 SSH Bugs: A,A,A,A,A,A,A,A,A,A
. 2012-11-08 09:14:25.197 SFTP Bugs: A,A
. 2012-11-08 09:14:25.197 Return code variable: Autodetect; Lookup user groups: A
. 2012-11-08 09:14:25.197 Shell: default
. 2012-11-08 09:14:25.197 EOL: 0, UTF: 2
. 2012-11-08 09:14:25.197 Clear aliases: Yes, Unset nat.vars: Yes, Resolve symlinks: Yes
. 2012-11-08 09:14:25.197 LS: ls -la, Ign LS warn: Yes, Scp1 Comp: No
. 2012-11-08 09:14:25.197 Local directory: default, Remote directory: home, Update: Yes, Cache: Yes
. 2012-11-08 09:14:25.197 Cache directory changes: Yes, Permanent: Yes
. 2012-11-08 09:14:25.197 DST mode: 1
. 2012-11-08 09:14:25.197 --------------------------------------------------------------------------
. 2012-11-08 09:14:25.261 Looking up host "*********.linode.com"
. 2012-11-08 09:14:25.340 Connecting to 97.107.***.** port 22
. 2012-11-08 09:14:25.403 Server version: SSH-2.0-OpenSSH_4.7p1-linode1
. 2012-11-08 09:14:25.403 Using SSH protocol version 2
. 2012-11-08 09:14:25.403 We claim version: SSH-2.0-WinSCP_release_5.1.1
. 2012-11-08 09:14:25.429 Doing Diffie-Hellman group exchange
. 2012-11-08 09:14:25.562 Doing Diffie-Hellman key exchange with hash SHA-1
. 2012-11-08 09:14:25.761 Verifying host key rsa2
0x23,0xaf109fc04c99fe84b091f2a1a2b2c5e1421ec93f6.
. 2012-11-08 09:14:25.807 Host key matches cached key
. 2012-11-08 09:14:25.807 Host key fingerprint is:
. 2012-11-08 09:14:25.807 ssh-rsa 2048 24:15:58:1e**********:be:ed:eb:a6:c1:4b:4c
. 2012-11-08 09:14:25.807 Initialised AES-256 SDCTR client->server encryption
. 2012-11-08 09:14:25.807 Initialised HMAC-SHA1 client->server MAC algorithm
. 2012-11-08 09:14:25.807 Initialised AES-256 SDCTR server->client encryption
. 2012-11-08 09:14:25.807 Initialised HMAC-SHA1 server->client MAC algorithm
! 2012-11-08 09:14:25.919 Using username "********".
. 2012-11-08 09:14:26.207 Prompt (7, SSH password, , &Password: )
. 2012-11-08 09:14:26.208 Using stored password.
. 2012-11-08 09:14:26.239 Sent password
. 2012-11-08 09:14:26.269 Access granted
. 2012-11-08 09:14:26.312 Opened channel for session
. 2012-11-08 09:14:26.416 Started a shell/command
. 2012-11-08 09:14:26.455 --------------------------------------------------------------------------
. 2012-11-08 09:14:26.455 Using SCP protocol.
. 2012-11-08 09:14:26.455 Doing startup conversation with host.
. 2012-11-08 09:14:26.506 Skipping host startup message (if any).
> 2012-11-08 09:14:26.506 echo "WinSCP: this is end-of-file:0"
< 2012-11-08 09:14:26.629 [****@**** lish] Thu Nov 8 09:14:51 EST 2012
< 2012-11-08 09:14:26.629 [****@**** lish] Linode Shell (lish) Console starting...
< 2012-11-08 09:14:26.684 [****@**** lish] Must be connected to a terminal.! 2012-11-08 09:14:26.967 /bin/stty: standard input: Invalid argument
< 2012-11-08 09:14:26.967 Your Linode isn't running, or another console session is already active.
! 2012-11-08 09:14:31.704 /bin/stty: standard input: Invalid argument
! 2012-11-08 09:14:31.728 /bin/stty: standard input: Invalid argument
! 2012-11-08 09:14:36.729 /bin/stty: standard input: Invalid argument
WinSCP then hangs and can only be stopped by ending the process.
Any ideas on how to resolve this problem?
Hints greatly appreciated!
Thanks.