Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- Does ssh.exe encrypt SOCKS?
March 31, 2012, 11:03 am
rate this thread
Re: Does ssh.exe encrypt SOCKS?
Assume yo have two machines:
S: the server, runs sshd.exe or sshd on linux etc.
C: the client, runs ssh.exe on windows or ssh on linux etc.
Then, on C you run
ssh -D 8080 user@S
and tell your local browser on C to use port 8080 as port for socksproxy.
Now, you search for "www.google.com" on your local browser on C. What
happens then is:
1) Your local browser asks the local dns-server on C for the IP of
"www.google.com". The proxy is _not_ used for this in general, but there
may be options to use the proxy for dns lookups. (On my browser, Camino
on OSX, there is a variable "network.proxy.socks_remote_dns" which can
be found under about:config)
2) Your local browser uses the proxy to connect to the IP related to
For this, every information from your browser is fed to the proxyport
8080, where ssh encrypts it and sends the encrypted data to S.
On S, sshd decrpyts the data and feeds the decrypted data to the net.
From "www.google.com" it looks, as if the request originates from S, not
3) The answer from "www.google.com" takes the same way in opposite
So you have encryption from C to S, but not from S to "www.google.com".
To send encrypted data to "www.google.com" wouldnt make much sense since
google doesnt know what to do with this data.
- Dag-Erling SmÃ¸rgrav
March 31, 2012, 3:18 pm
- » Re: Is it possible to use stunnel to access newsroups (nntp)?
- — Next thread in » Secure Shell Forum
- » ssh on command line: force using a group size (prime size) of 1024 (and no...
- — Newest thread in » Secure Shell Forum