App::Nopaste::Service:User(Contributed Perl DocumApp::Nopaste::Service::ssh(3)NAMEApp::Nopaste::Service::ssh - copies files to your server using scp
AUTHOR
Kevin Falcone "<falcone@cpan.org>"
Thomas Sibley "<trs@bestpractical.com>"
ENVIRONMENT VARIABLES
NOPASTE_SSH_SERVER
The hostname to which you ssh. The left-hand side of the colon in
the scp. For example: "sartak.org".
NOPASTE_SSH_DOCROOT
The path on disk for your pastes. For example: "public_html/paste".
NOPASTE_SSH_WEBPATH
The path for URLs. For example: "http://sartak.org/paste".
NOPASTE_SSH_MODE
Octal permissions mode to set for the temporary file before
uploading. For example: 0644.
NOPASTE_SSH_USE_DESCRIPTION
Use the supplied description in the paste filename for easier
identification of pastes. Defaults to the source filename, if any,
but is overridden by an explicit "-d" or "--description" command
line argument.
APACHE CONFIGURATION RECOMMENDATIONS
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 ".pl" and ".cgi"
files won't run and defaults the character set to UTF-8 so browsers
don't have to guess wrong.
perl v5.14.2 2012-07-14 App::Nopaste::Service::ssh(3)