Re: Error on internet browsing



Todd H. wrote:
Fretu <email@xxxxxxxxxx> writes:

I am trying to do a normal tunneling, I connect to my shell account on
port 22, I set up the port forwarding on port 8080, then I change the
Firefox proxy settings to localhost and port 8080.

I am getting this error when I try to browse the internet:

SSH-2.0-OpenSSH_4.5
Protocol mismatch.

ANy help appreciated, it is the first time I attempt to do
tunneling.

Look like you've screwed up the tunnelling and the web browser is
connecting to an sshd rather than a web server or proxy.

To get help, you'll need to post what flavor of ssh client you're
using, and what settings you're attempting. If using openssh, post
the command line you tried.

You'll also need to be more specific about which proxy fields you
populated in firefox and what values you put in there.


Thanks to everyone for trying help.

The error I mentioned appears on the browser Window(Firefox2.0)
I am using a shell account from a friend in Lebanon that allows me to do port forwarding, my computer is placed in the UK. I am on Windows2000.

As far as I know my friend is running Fedora Linux, I do not know many more specifics besides the fact that I've been told port forwarding is allowed. So how I set up this?


Putty:

SSH+Tunnels
Source Port: 8080
Destination: shell.com:22

(ADD)
(Local and Auto Radio Buttons checked)

Now back to "Session" in Putty:

Hostname: shell.com Port:22
(SSH Protocol radio button checked)

Firefox2.0 Settings:

Tools>Options>Network>Settings>Manual Proxy Configuration:

HTTP Proxy: localhost Port 8080

No Proxy for: localhost, 127.0.0.1

Now I open session in Putty, enter my username and password, try to browse the internet and Firefox says:

>> SSH-2.0-OpenSSH_4.5
>> Protocol mismatch.

That is about all, I hope it helps to troubleshoot and thanks in advance
.