#!/bin/sh # load resident keys from a FIDO authenticator to the SSH agent output=$(ssh-add -K 2>&1) if [ $? -eq 0 ]; then notify-send -u low "FIDO keys loaded" "${output}" else notify-send -u critical "Error adding FIDO2 keys to SSH agent" "${output}" fi