HOW-TO Encrypt an archive file

Private/Public keypair Create the private key (one-off): openssl genrsa -out ~/.ssh/key.pem 2048 chmod 400 ~/.ssh/key.pem then extract the public key from it: openssl rsa -in ~/.ssh/key.pem -out ~/.ssh/key.pub -outform PEM -pubout NOTE The whole mechanism revolves around keeping the secret key key.pem, well, secret. This is the only critical part of the scheme. Everything else, … More HOW-TO Encrypt an archive file