Category Archives: Linux Mint


When copying very large files it is sometimes frustrating not having a progress bar. Have the process crashed? or etc… I´ve tried rsync and various other options, but the most efficient way I found is to use Midnight Commander (mc). Read more…


This is useful for me when editing my ip ban script. I use the same text file to ban ip´s and sometimes that file is pretty big. A simple method to clear the content of the file without touching the Read more…


If you have gone through your logs, you will most likely find a lot of login attempts on ssh port. And probably some on the apache service. If you identify these ip’s, here is how to block them from entering Read more…


Here is how to save your iptables config and make it stick even after a reboot. There is two ways of doing this (at least). We will use the latest method that will require you to install iptables-persistent. apt-get install Read more…


Here is how to connect to a Debian based server using RSA certificate with Putty. First thing you need is to download Puttygen, and you will find that on putty’s offical download page here. Puttygen Start puttygen.exe and click generate. Read more…


Using RSA certificate will increase your account/server security. You can configure SSH server to only accept RSA certificate for your root user. Here is how to use certificates for authentications. On your local system (laptop/workstation/etc) First we will create the Read more…


With several Linux computers or servers it can be useful or practical to copy files from one computer to another from the terminal directly. We use a command called SCP to do it. And here is how to: To copy Read more…


The SSH log file is located here (on Debian based systems): /var/log/auth.log And to view it, just type (need root or sudo): cat /var/log/auth.log This file most likely contains a lot of information. At least if it’s connected to the Read more…


For security reason, and others, it is a good idea to use another user than root. There is several ways of doing this. On a Debian system sudo is most likely not installed (it’s default on Ubuntu). apt-get install sudo Read more…


This can be useful if a connection get stuck, or you see a suspicious IP of your users. If you run w or who you will see you current logged on users. You can click on the pictures for a slightly Read more…