Nytro Posted March 27, 2013 Report Posted March 27, 2013 [h=1]Installing TOR On Ubuntu Linux[/h] Posted on March 20, 2013 by infodox Seeing as Ubuntu is one of the most commonly used Linux distros around, and because I cannot be bothered getting a Fedora .iso, and because these instructions work fine for Debian also, here goes! (yes, in the images I am using BT5, which is basically Ubuntu) To get your distribution name, the command “lsb_release -c” will tell you. This is important. First off, add the appropriate repository to your /etc/apt/sources.list file. Essentially this command:sudo echo “deb http://deb.torproject.org/torproject.org <DISTRIBUTION> main” >> /etc/apt/sources.listAdding TOR repo Next, we import the tor project GPG keys. I advise being root when doing this.gpg –keyserver keys.gnupg.net –recv 886DDD89gpg –export A3C4F0F979CAA22CDBA8F512EE8CBC9E886DDD89 | sudo apt-key add -Adding GPG keys sudo apt-get update to refresh your package lists… Update Package List Now we install the torproject keyring.apt-get install deb.torproject.org-keyringInstalling Keyring Install TOR itself and the Vidalia GUI… It will prompt to add a user to the group so select your username!!!apt-get install vidalia tor polipoInstalling TOR Now, we check is Vidalia working OK or are we already fscked. By running it. Vidalia Works If it looks like that, you are good to go Again, as per TOR Setup – Windows | Insecurety Research , just set proxy settings in your browser to use 127.0.0.1 and 9050 as the port and you should be good to go! Next up: Installing TORbutton The observant ones will note the dates on the screenshots are old: I had originally made this guide for some friends who wanted it, and then I decided to publish it openly because, reasons.Sursa: Installing TOR On Ubuntu Linux | Insecurety Research Quote
yo20063 Posted March 27, 2013 Report Posted March 27, 2013 (edited) Thanks, something simpler for Ubuntu users:(install tor)sudo apt-get install tor (initialize tor)tor & (start tor service at startup)sudo update-rc.d tor enableFor browser use, change proxy: 127.0.0.1, SOCKS , port: 9050For SSH:Run: sudo apt-get install -y connect-proxyMake a folder in "/home/utilizator" named ".ssh". (obviously "utilizator" gets replaced by the name of the user, and if you use the user "root" the folder will have to be created in "/root/".)Access the folder (ex. "cd /home/baubau/.ssh" , or "cd /root/.ssh"Create a file named "config" with your favorite text editor (ex. nano, gedit, vi) and you put inside, by case:1. All SSH connections to use TOR:Host *CheckHostIP noCompression yesProtocol 2ProxyCommand connect -4 -S localhost:9050 $(tor-resolve %h localhost:9050) %p2. A specific SSH connection to use TOR:Host ipUser userul_meuCheckHostIP noCompression yesProtocol 2ProxyCommand connect -4 -S localhost:9050 $(tor-resolve %h localhost:9050) %p("ip" gets modified with the host ip, and "userul_meu" with your user >> given, or obtained (ex. root, admin etc.)Hope it helps. Edited March 27, 2013 by yo20063 Quote