March 21, 2018
Kill Active SSH Session

Force close active SSH connections after a defined time interval

How to kill an active SSH session after a defined time interval ?   Every Linux admin has used the idle timeout option  in [crayon-5ab32946d4dbe923894675-i/]  given […]
December 22, 2017

Linux SSH authentication with Google

Today I decided to play around with the Google two factor authentication method on one of my Linux VMs hosted in Azure. What this means? Well, my idea was to have a VM that I ususaly login with my SSH key automatically, to prompt me for a code that changes every 30 seconds. Google Authenticator offers just that.
July 31, 2017

How to remove orphaned PID files

If you have multiple PID files for the same process ( e.g.,, ecc. ) you may have a situation like the one described above. So, how do you delete the PID files for the processes that are no longer running, without interfering with the running processes?