#!/bin/sh # xscreensaver-ssh-helper - forget SSH agent keys on blanking xscreensaver-command -watch | awk '/^BLANK|^LOCK/ { system("ssh-add -D") }'