ssh regularly and have
ssh-agent set up.
How can I use
ssh keys to
gpg-encrypt a file?
Edit: It seems that this is impossible. Why?
ssh can encrypt traffic, so why not also files?
No, SSH keys are not PGP keys and serve different purpose .
SSH can encrypt, just not in a GPG compatible manner.
should do the trick.