Add SSH Agent on Login (Linux)

I’m not sure if this is best necessarily best practice (so please comment below). I had the need to be using SSH key based authentication a lot. So rather than manually running the SSH Agent and then adding my private key (which then meant entering the passphrase on each use), I added this to my … Read more

“Password Less” Sudo

A quick example on Ubuntu Linux 22.04 LTS. I had the need for a particular user to have “passwordless” sudo ability. Its not best practice to do this, however if you are restricting the command or commands that a user can run with “passwordless sudo”, you are balancing functionality and security as well as you … Read more

Tailscale Quick VPN to CCTV on Synology NAS

Tailscale is a great little tool to allow you to setup your VPN between all sorts of devices and without the worry about issues like Firewalls or setting up VPN servers/concentrators. There’s loads of documentation on how to setup Tailscale, so I won’t repeat that here, but i’ll run through a quick example of something … Read more

SNMPWalk 101

SNMP (Simple Network Management Protocol) is a protocol that can be used for monitoring and managing network connected devices. Personally I use it primarily for monitoring, it is a useful way to interrogate network connected devices for information about their status. For example querying to identify if a power supply has failed on a switch, … Read more

NagiosXI – REST API to Manipulate Objects

NagiosXI has a REST API that can be used to add, edit and remove objects from the configuration. Full details of the configuration and use of this can be found on your installation at: http://nagiosserver.domain.com/nagiosxi/help/?xiwindow=api.php (or you can find it through the Advanced Configuration menu). Each user has an APIKey which can also be found via … Read more