Surprise! We've been running on hardware provided by BuyVM for a few months and wanted to show them a little appreciation.
Running a paste site comes with unique challenges, ones that aren't always obvious and hard to control. As such, BuyVM offered us a home where we could worry less about the hosting side of things and focus on maintaining a clean and useful service! Go check them out and show them some love!
Submitted on January 5, 2016 at 07:59 PM

Section 1 (Text)


<pre>
GPG
gpg public.gpg=public key,public is the name of the key(recipient)
gpg --gen-key
gpg --import public.gpg
gpg --edit-key public
trust,5,y,quit OR gpg --encrypt --recipient public --trust-model always YOUR_FILE
gpg --encrypt --recipient 'File Encryption Key' files.tar.gz
gpg --output files.tar.gz --decrypt files.tar.gz.gpg

Saving the public and private key

gpg --armor --output recipient.gpg --export 'recipient'
gpg --armor --output recipient-private.gpg --export-secret-keys 'recipient'
 login to remote server
ftp -n -pi ${ftp1host} <<EOF
user ${ftp1user} ${ftp1pwd}
cd $BACKUPDIRECTORY
lcd $SOURCEFILES2
mput ${date}file.tar.gz.gpg
quit
EOF
</pre>