Hi guys,
All new to this, I'm having an issue getting to an external site via our internal proxy using sftp. I've tried both the scripting method and using the client manually and I'm not having much luck. Here's my log fragment:
. 2014-08-28 10:43:19.030 --------------------------------------------------------------------------
. 2014-08-28 10:43:19.030 WinSCP Version 5.5.4 (Build 4433) (OS 5.2.3790 Service Pack 2 - Microsoft Windows Server 2003)
. 2014-08-28 10:43:19.030 Configuration: HKEY_CURRENT_USER\Software\Martin Prikryl\WinSCP 2\
. 2014-08-28 10:43:19.030 Local account: mydomain\myaccount
. 2014-08-28 10:43:19.030 Working directory: D:\Program Files\WinSCP
. 2014-08-28 10:43:19.030 Process ID: 4336
. 2014-08-28 10:43:19.030 Command-line: "D:\Program Files\WinSCP\WinSCP.exe"
. 2014-08-28 10:43:19.030 Time zone: Current: GMT+8 (W. Australia Standard Time), No DST
. 2014-08-28 10:43:19.030 Login time: Thursday, 28 August 2014 10:43:19 AM
. 2014-08-28 10:43:19.030 --------------------------------------------------------------------------
. 2014-08-28 10:43:19.030 Session name: adminaccount@example.com (Modified site)
. 2014-08-28 10:43:19.030 Host name: example.com (Port: 22)
. 2014-08-28 10:43:19.030 User name: adminaccount (Password: Yes, Key file: No)
. 2014-08-28 10:43:19.030 Tunnel: Yes
. 2014-08-28 10:43:19.030 Tunnel: Host name: example.com (Port: 22)
. 2014-08-28 10:43:19.030 Tunnel: User name: adminaccount (Password: Yes, Key file: No)
. 2014-08-28 10:43:19.030 Tunnel: Local port number: 0
. 2014-08-28 10:43:19.030 Transfer Protocol: SFTP (SCP)
. 2014-08-28 10:43:19.030 Ping type: -, Ping interval: 30 sec; Timeout: 15 sec
. 2014-08-28 10:43:19.030 Proxy: SOCKS5
. 2014-08-28 10:43:19.030 HostName: myproxy.mydomain.com (Port: 8080); Username: mydomain\proxyaccount; Passwd: Yes
. 2014-08-28 10:43:19.030 Send buffer: 262144
. 2014-08-28 10:43:19.030 SSH protocol version: 2; Compression: No
. 2014-08-28 10:43:19.030 Bypass authentication: No
. 2014-08-28 10:43:19.030 Try agent: Yes; Agent forwarding: No; TIS/CryptoCard: No; KI: Yes; GSSAPI: No
. 2014-08-28 10:43:19.030 Ciphers: aes,blowfish,3des,WARN,arcfour,des; Ssh2DES: No
. 2014-08-28 10:43:19.030 SSH Bugs: A,A,A,A,A,A,A,A,A,A
. 2014-08-28 10:43:19.030 Simple channel: Yes
. 2014-08-28 10:43:19.030 Return code variable: Autodetect; Lookup user groups: A
. 2014-08-28 10:43:19.030 Shell: default
. 2014-08-28 10:43:19.030 EOL: 0, UTF: 2
. 2014-08-28 10:43:19.030 Clear aliases: Yes, Unset nat.vars: Yes, Resolve symlinks: Yes
. 2014-08-28 10:43:19.030 LS: ls -la, Ign LS warn: Yes, Scp1 Comp: No
. 2014-08-28 10:43:19.030 SFTP Bugs: A,A
. 2014-08-28 10:43:19.030 SFTP Server: default
. 2014-08-28 10:43:19.030 Local directory: default, Remote directory: home, Update: Yes, Cache: Yes
. 2014-08-28 10:43:19.030 Cache directory changes: Yes, Permanent: Yes
. 2014-08-28 10:43:19.030 DST mode: 1; Timezone offset: 0h 0m
. 2014-08-28 10:43:19.030 --------------------------------------------------------------------------
. 2014-08-28 10:43:19.092 Opening tunnel.
. 2014-08-28 10:43:19.124 Autoselected tunnel local port number 50000
. 2014-08-28 10:43:19.171 [Tunnel] Looking up host "example.com"
. 2014-08-28 10:43:19.171 [Tunnel] Connecting to <my proxy's IP> port 8080
. 2014-08-28 10:43:34.235 [Tunnel] Waiting for data timed out, asking user what to do.
. 2014-08-28 10:43:34.235 Asking user:
. 2014-08-28 10:43:34.235 **Host is not communicating for 15 seconds.
. 2014-08-28 10:43:34.235
. 2014-08-28 10:43:34.235 Wait for another 15 seconds?** ()
. 2014-08-28 10:43:44.048 [Tunnel] Closing connection.
. 2014-08-28 10:43:44.048 [Tunnel] Sending special code: 12
* 2014-08-28 10:43:44.111 (EFatal) **Terminated by user.**
So I think I'm either providing the info wrong or my proxy isn't configured right. I'm really not sure. Any help is greatly appreciated thanks.