I have simple ssh tunnel on localhost. When I try to connect to my ssh server via this tunnel, winscp (.com | .exe) ends with "Connection refused". Direct connection works well, older version of WinSCP (4.0.3.345) works too.
I am running on Windows 7 SP1.
Direct connection to ssh server [works]:
c:\winscp.com
winscp> open user1:pass1word@myserver1
Searching for host...
Connecting to host...
Authenticating...
Using username "mihula".
Authenticating with pre-entered password.
Authenticated.
Starting the session...
Reading remote directory...
Session started.
Active session: [1] user1@myserver1
winscp>
Connection via tunnel (myserver1 is redirected from port 60017) [fail]:
c:\winscp.com
Direct connection to ssh server [works]:
winscp> open localhost:60017
Searching for host...
Network error: Connection refused.
winscp>
Connection via tunnel using WinSCP 4.0.3 [works]:
winscp> open user1:pass1word@localhost:60017
Searching for host...
Connecting to host...
Authenticating...
Using username "user1".
Authenticating with pre-entered password.
Authenticated.
Starting the session...
Reading remote directory...
Session started.
Active session: [1] user1@localhost
Any ideas what I'm doing wrong?