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
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
person holding torch in building interior

Extra Characters when Pasting into SSH

Do you have extra characters like 0~ and 1~ showing up when you paste into ssh terminal? Here’s a simple way to fix that.

May 12, 2017 · 2 min · Matt Bagley
Image of gauges at the steering wheel of a car.

Show System Stats after Login to Shell

Here’s a great way to show system stats after you login, such as last login, uptime, load, memory, disk usage, and the weather, and if there’s an issue.

October 18, 2016 · 7 min · Matt Bagley · Updated May 9, 2017
three fawn pugs

Using Watchdog to Always Keep a Machine Running

Watchdog monitors the health of a machine. If something goes really wrong, it can safely reboot the machine, allowing your service to keep on going rather than wait for someone to come kick it.

November 26, 2015 · 8 min · Matt Bagley · Updated May 15, 2019
Image of yellow and black road sign.

Show a Notice/Warning Before Anyone Logs In.

It’s good practice to put up a notice before your server’s login prompts. Here’s a simple way to do it, with example texts too.

October 31, 2008 · 7 min · Matt Bagley · Updated May 9, 2017