How to setup an anonymous VPS
In this tutorial, we will show you how you will be able to create a totally anonymous VPS (Virtual Private Server) without exposing your IP to the hosting company or the VPS provider.
You need to find a company that accepts cryptocurrency as payments for their VPS, there are many such companies and we advise you to check (lowendbox.com) for that.
Keep in mind, that you must always use Tor browser during this processs. You can always download from here.
Also, make sure you use an email that does not require much information about you, check the following article:
While using Tor, login to the recovery mode or Web shell on the VPS provider website.
Install Tor and Setup SSH Over Tor:
sudo apt-get install tor / sudo pacman -S tor
Enable Tor startup on boot:
sudo systemctl enable tor
And start Tor once installed:
sudo systemctl start tor
Open Tor’s Torrc file using the following command:
sudo nano /etc/tor/torrc
Add or find:
HiddenServiceDir /var/lib/tor/hidden_ssh_service/ HiddenServicePort 22 127.0.0.1:22
And restart Tor:
sudo systemctl restart tor
Get the onion address of the current running hidden service:
sudo su cat /var/lib/tor/hidden_ssh_service/hostname
Save the long onion address in order to be able to connect to your VPS using Tor later on.
Now, disable SSH logs following these commands:
sudo nano /etc/ssh/sshd_config Find "PrintLastLog yes" and change it to "PrintLastLog no"
Save the file, and restart your SSH:
sudo systemctl restart ssh
By now, everything is complete and all you need to do is to reboot your system and login to your server using the onion address and you will be in a total stealth mode and without any logs kept on your VPS nor your IP addresses.