Azure

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-5b032aa011c2f331660806-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. 1_process_name.pid, 2_process_name.pid, 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?

By continuing to use the site, you agree to the use of cookies. more information

The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings or you click "Accept" below then you are consenting to this.

Close