Tag Archives: ssh

Force Chrome to tunnel DNS requests through a SSH socks proxy

Setup a socks proxy (check this page for more details) on port 8888 (the port is not that important). Start chrome with the following parameters: [codesyntax lang=”bash”] chrome –proxy-server=”socks5://localhost:8888″ [/codesyntax] Also we can check if this works and run the following command on the SSH server. The tcpdump will show show dns traffic for any activity … Continue reading Force Chrome to tunnel DNS requests through a SSH socks proxy

Encrypt your traffic from your Android device using a ssh tunnel

As I said with a previous ocasion in China the goverment is filtering the internet traffic (including mobile trafic, dohh) so you can’t access different websites and/or services and this thing is very annoying. Well, what do you have to do if you want to navigate to youtube.com for instance? Hmmm… you will have to … Continue reading Encrypt your traffic from your Android device using a ssh tunnel

Encrypt your web browsing session in one command

Recently I accepted a job proposition in Shenzhen/China. So, China here I come. Things are great here, western propaganda has nothing to do with what’s going on here, except one thing: internet filtering. Google results are censured, so only “accepted” results are displayed, sites like facebook.com, twiter.com, youtube.com, thepiratebay.org, openvpn.net and so many more… What … Continue reading Encrypt your web browsing session in one command

How to authenticate on a machine with ssh (protocol 1) without password

This document describes the necessary steps to be carried out in order to authenticate with ssh protocol 1 without password. 1. Generate private/public pair of keys on client computer (let’s say desktop) [codesyntax lang=”bash”] ssh-keygen -t rsa1 [/codesyntax] 2. Copy the public key to the server [codesyntax lang=”bash”] ssh-copy-id -i identity.pub user@server [/codesyntax] 3. Try … Continue reading How to authenticate on a machine with ssh (protocol 1) without password