avatar

> /dev/null 2>&1

ramblings of a sysadmin

Use resident SSH key(s) on YubKey using Fido2

From Wikipedia: The YubiKey is a hardware authentication device manufactured by Yubico to protect access to computers, networks, and online services that supports one-time passwords (OTP), public-key cryptography, and authentication, and the Universal 2nd Factor (U2F) and FIDO2 protocols developed by the FIDO Alliance. We’re going to create a ed25519 SSH key that lives on the YubiKey.

YubiKey bash setup

From Wikipedia: The YubiKey is a hardware authentication device manufactured by Yubico to protect access to computers, networks, and online services that supports one-time passwords (OTP), public-key cryptography, and authentication, and the Universal 2nd Factor (U2F) and FIDO2 protocols developed by the FIDO Alliance. To get up and running on a new machine with minimal fuss.

Luks decryption with clevis and TPM2

Why should you encrypt your disc in the first place? It’s for your own privacy. It’s to ensure that personal data doesn’t go astray.

Bootstrap Raspberry Pi OS on Pi Zero 2 W

Notes on bootstrapping Raspberry Pi OS. This blog post is written in the heavy influence of a cold. Take care with your copy and pasting. No more information at the point.

Raspberry Pi Zero 2 W

Bootstrap Raspberry Pi Zero 2 W with Ubuntu using cloud-init. OTG configured as network card, WiFi, ssh-keys from GitHub and zram swap enabled. All examples are made to be run on a Fedora Desktop. Adjust scripts if you use another distro.

Wireguard VPN server

From Wikipedia: WireGuard is a communication protocol and free and open-source software that implements encrypted virtual private networks (VPNs), and was designed with the goals of ease of use, high speed performance, and low attack surface.

Ubuntu cloud images with virt-install

Earlier we looked at how we could use Ubuntu cloud images with KVM. Now we will use the libvirt cli virsh and virt-install to do the same process. virt-install is a part of the virt-manager supporting tools. Fetch the Ubuntu Cloud image 🔗This only need to be done once, or when you want to update the cloud image.

mtr - combining traceroute and ping

mtr combines the functionality of the traceroute and ping programs in a single network diagnostic tool.

Ubuntu cloud images with KVM

Ubuntu are using cloud-init for their cloud images. This can be used in combination with libvirtd and kvm to pre-configure your virtual machine at boot.

Raspberry Pi 4 - Ubuntu 20.04 w/Btrfs root

How to convert a root file system on a Raspberry Pi 4 b running Ubuntu 20.04 64 bit to Btrfs in a few simple steps.