Here is where to learn about gpg:
www.gnupg.org. As for setting it up with ssh, that would defeat part of the security designed into ssh. If you don't want to have to use a passphrase, create your keys and omit the passphrase. But that leads to the same security issue.