Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
November 1, 2006, 4:13 pm
rate this thread
retrieve a web page through an ssh tunnel. I establish the tunnel on
port 80 with one of my PuTTy sessions. Once connected and the tunnel
is established, I have code that creates a new socket connection to
localhost port 80 to retrieve a file when an certain escape sequence is
encountered. The problem is, the connection always hangs waiting to
receive data from the web server. I have also tried using
ShellExecuteEx() within my code to run wget.exe to retrieve the web
page. This also hangs. I can test that the tunnel exists by telneting
to port 80 and pasting the HTTP GET command, and also by bringing up a
web browser... both of these work fine. Also if I bring up an
identical second PuTTy session, the web retrieval works in that
session. Can someone please explain to me why this does not work and
what I can do to make it work? Thanks.
- » ssh on command line: force using a group size (prime size) of 1024 (and no...
- — Newest thread in » Secure Shell Forum