App::Nopaste::Service::ssh - copies files to your server using scp
The hostname to which you ssh.
The left-hand side of the colon in the scp.
The path on disk for your pastes.
The path for URLs.
Octal permissions mode to set for the temporary file before uploading.
Use the supplied description in the paste filename for easier identification of pastes.
Defaults to the source filename,
but is overridden by an explicit
--description command line argument.
The following is a recommended Apache configuration you can drop into
.htaccess in your paste dir.
RemoveHandler .cgi RemoveHandler .pl AddDefaultCharset utf-8 Options -ExecCGI -FollowSymLinks -Includes -MultiViews
It prevents common means of script execution so that
.cgi files won't run and defaults the character set to UTF-8 so browsers don't have to guess wrong.