The signature can be generated on the command line by using

echo "I am <name> and I wish to login" | gpg --clearsign