Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Ok, so the goal is to be able to utilize the dynamic proxy method that OpenSSH provides with the -D option on the Linux client, such that any connection requests made against a local port are forwarded and proxied by the remote ssh server.

Has anyone done this on a windows ssh client? Have information, the point is to only require a remote host to run simply OpenSSH, not an OpenSSH and squid combo.

To reiterate, I am looking for a client on windows that mimics the Linux client's -D option.

share|improve this question

1 Answer 1

PuTTY is a commonly used ssh client for windows, its also a standalone executable so you can put it on a usb drive and use it anywhere. It has dynamic forwarding with the -D option as well.

share|improve this answer
    
I am using the dynamic option in putty, with an open-ssh server on the other end. I am getting connection resets instantly whenever I try to use the localport as a proxy. –  petekalo Apr 9 '11 at 18:32
    
@petekalo: Ctrl+rightclick on PuTTY's window and open the event log. It should tell you why connections are being refused. –  grawity Apr 9 '11 at 19:07
    
Also, PuTTY comes with a plink tool which can be used from command-line: plink -v -N -D 1234 user@host –  grawity Apr 9 '11 at 19:08
    
@grawity Thanks for the logging tip! I am getting "Forwarded connection refused by server" in the putty logs AllowTcpForwarding yes is set in sshd_config dont know is going on. –  petekalo Apr 9 '11 at 19:52
    
@petekalo: The message means that connections are refused by the final host, not by the SSH server. Open an interactive SSH session and try opening a TCP connection yourself. For example, socat tcp:<host>:<port> stdio or nmap -sT -p <port> <host> or telnet <host> <port>... –  grawity Apr 9 '11 at 20:42

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.