Linux – How to copy files with progress bar
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,…
Linux – Clear content of a file
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….
Iptables – Block Ip’s
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….
Debian – Make iptables restore on boot, or save persistant
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…
FileZilla – Use RSA certificate to connect to sftp
Here is how to connect to your sftp account with FileZilla using RSA certificate. You will need to refer to my previous article if you haven’t already…
Debian/Ubuntu – Use RSA certificate with Putty
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…
Debian 7 – How to install Teamspeak 3 with autostart
Teamspeak 3 server with autostart Here is a short description on how to install Teamspeak 3 in a safe manner on a Debian server. And how to auto…
SSH – Connect to SSH with RSA certificate
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…
Linux – SCP to download, upload or copy files
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…
SSH – See login attempts
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…