Idlewatcher
Overview Idlewatcher will execute a command after a specified idle timeout period. By default, after one hour, it will execute systemctl suspend, if all logged-in ttys and Wayland are idle. If Wayland isn’t running, or if idlewatcher could not connect to it, it will only look at logged-in ttys. It uses the atime field of each tty to determine idleness, which is updated on user input, but not output from any running programs.
read more...
Tags: wayland idle linux systemd
Using a Yubikey and GPG for SSH authentication
Overview I wanted a way to secure my SSH private key on a hardware token, so I configured a Yubikey to store the key. This is an overview of the the steps I took to do this. Install required software GPG If you don’t already have GPG installed, you can get it from https://gnupg.org or install it via your favorite package manager. To install it via Homebrew: $ brew install gpg2 Pinentry (for Mac) We’ll also want to install a suitable pinentry program to use when authenticating to a remote server.
read more...
Tags: yubikey gpg ssh linux macos
Prev