Posts

Notes, how-tos, and ideas related to operating systems, servers, networking, websites, and programming.
landscape photo of castle on top of mountain peak

How to Lock GPG/SSH Agents when Screen Locks or After a Timeout

When we aren’t using GPG/SSH, it’s best to lock it. We can set this to happen after a set time, and/or when the screensaver activates. This helps to keep our credentials secure.

June 28, 2021 · 3 min · Matt Bagley · Updated Jul 17, 2023
a couple of chairs sitting on top of a sandy beach

How to Enter Your SSH Passphrase Only Once per Session

Use SSH agent to temporarily remember your SSH key’s passphrase.

June 15, 2020 · 2 min · Matt Bagley
blue and black sky with stars and falling star at nighttime

Make an Easier SSH Multifactor Login

Tired of Multifactor Authentication codes for SSH, even though you just logged in? Here’s how SSH can reuse an existing connection, so you can quickly run single commands, open multiple SSH logins, and still have the same level of security.

June 6, 2019 · 3 min · Matt Bagley · Updated May 6, 2023
a very tall building with a big glass ceiling

How to Find Out About a System and its Hardware

Simple commands to show details about your system, from PCI to Video to CPU.

May 14, 2019 · 2 min · Matt Bagley · Updated Jun 28, 2023
Image of a sailing ship on a sea of stars with a galaxy above.

WeTTy the Fast SSH Terminal in Your Browser

WeTTy is a fast, full fledged terminal emulator, the works just as fast as a normal terminal and handles just as well. I’ll show you how to set it up on Docker using Traefik and Docker Compose.

May 7, 2019 · 10 min · Matt Bagley · Updated May 15, 2023
two stars in the middle of a black sky

Multifactor Authentication for SSH Logins

How to setup MFA/2FA/Two Factor Authentication to enhance the security of your SSH logins.

May 6, 2019 · 9 min · Matt Bagley · Updated Jul 11, 2023
Aurora phenomenon

Matomo Website Analytics via Docker Compose

Matomo is an analytics tool focused on privacy while feature rich. We will set it up using Docker Compose.

April 29, 2019 · 4 min · Matt Bagley · Updated Jun 13, 2020
Sunset in the Hisma Desert. NEOM, Saudi Arabia | The NEOM Nature Reserve region is being designed to deliver protection and restoration of biodiversity across 95% of NEOM

Setting Up Awstats With Nginx and Uwsgi

Visualize the traffic and usage of your site.

April 3, 2019 · 3 min · Matt Bagley
Image of wires being displayed as lightning

Route Traffic with Traefik on Docker

Traefik is an awesome simple little router made for the cloud. Just tell it where to send the traffic, without a restart! Here we will use it in Docker Compose to route our traffic.

March 13, 2019 · 10 min · Matt Bagley · Updated Jun 13, 2020
man standing on SUV watching northern lights

Anonymizing Logs in NGINX and Apache

How to anonymize logs in NGINX and Apache

March 12, 2018 · 13 min · Matt Bagley · Updated Jan 26, 2021