Forfatterarkiv: mike

Tunneling HP ILO5 through SSH

Creates a tunnel to the ilo port, which in this example is through the jumphost, after this you can connect to ILO by typing in https://locahost and accept the security warning, refreshing and logging in with your credentials.

Udgivet i Linux, SSH | Skriv en kommentar

Unmounting an NFS Share that has gone away

On Linux when an NFS share disappears it is not handled very well, to say it nicely, and in order to get a functioning machine again you need to drop that mount, but a simple umount command states that the … Læs resten

Udgivet i Linux | Skriv en kommentar

Fail2ban crash course

Just install fail2ban and the default settings will keep you protected just fine, after five failed login attempts the ip address of the offending login will be blocked for 10 minutes using iptables. If you wish to keep tap on … Læs resten

Udgivet i Linux, Security | Skriv en kommentar

Check TLS Certificate with openssl

Udgivet i Linux | Skriv en kommentar

Running and monitoring rsync with Python

Udgivet i Python | Skriv en kommentar

Printing out a gage in the console with Python

Udgivet i Python | Skriv en kommentar

XCP-NG: Delete default templates

List the templates to get the uuid of the template you wish to delete: And then remove the parameter “is-default-template” by doing this: And finally delete it by:

Udgivet i xcp-ng | Skriv en kommentar

Hide nick-name in social-share on WordPress


Udgivet i Uncategorized | Skriv en kommentar

Fetching and parsing backuppc host summary with Python

Udgivet i Backuppc, Python | Skriv en kommentar

Distributing SSH Keys with Ansible

This method is designed to fully take over the distribution of SSH Keys, meaning if you use this method you, or individual users, can no longer manually add their own keys to the systems. ./roles/ssh-keys/tasks/main.yml: ./roles/ssh-keys/tasks/authorized_keys And finally ./roles/ssh-keys/vars/main.yaml This … Læs resten

Udgivet i Ansible, Linux | Skriv en kommentar