For the server I suggest adding an ssl group and spaste user, the systemd startup/respawn script if its a dedicated setup, and the crontab entry that removes expired pastes, for security purposes.
openssl or perl
To install (this is a local install, no sudo needed), run:
./install.sh
or add the following line to your shell's startup file:
alias sp='timeout 3s openssl s_client -quiet -servername spaste.oxasploits.com -verify_return_error -connect spaste.oxasploits.com:8866 2>/dev/null | grep -v END | tr -d "\n"; echo'
Useage:
echo "yes hello" | sp
Thanks for a bugfix, brianx! Thanks to the creators of termbin.com for the general idea!