blob: e8bb1afc1acad74e933511ffeda9469611de7a07 (
plain)
1
2
3
4
5
6
7
8
|
#!/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
|