Sometimes you need to proxy your traffic over a server in order to pass certain firewall rules, and/or geographic restrictions on some websites, configuring SQUID on your own droplet it’s very useful to solve this kind of needs, and the installation it’s pretty straight forward
For some reason I always forget which parameters needs to be used in each one of those cases, so, I’m going to put this information in this post until it burns in my brain.
Extract a tar.bz2 file or a tar.bz
tar -xvjf your_file.tar.bz2
Extract a tar.gz
tar -xvzf your_file.tar.gz
In order to use the fingerprint reader to login and to avoid password on sudo you just need to install the fprint library
sudo apt install libpam-fprintd
Then you just need to register your fingerprints with the command
There are several programs that make this happen, but after I tried some of them I found very useful one of them KAZAM
It’s very simple to install
sudo apt-get install kazam
And just run it
You can view this post for other options for it
I usually only put in this blog working solutions proved by me, but in this case I did so many things that I can’t recall how I make that VPN working, but from my browser history I can reference to some of the posts that helped me do it. And the last thing that I did to make it work. I promise to update this post when I need to make this process again with the solution but until that I can’t erase it to make the process again (I don’t have the time for it)
I was just having trouble because you can’t use the same RSA key in order to connect to multiple accounts on bitbucket, this can be solved creating a new one, but you need to know how to handle them, and there is two ways to do it.
If you just need to connect with ssh to a host well you can just put it as a parameter, but this doesn’t work as a complete solution.
ssh -i PATH_TO_SSH_KEY email@example.com
Sometimes you need to run commands as another user in order to avoid permission errors, you can run a crontab as another user with the following command
sudo crontab -u USER_RUNNER -e
Just change USER_RUNNER for an existent user on your system and it will run as that user.
And by the way, if you need some assistance on how to create the different values for your cron times, and how they are defined, this is a great tool.