App::Nopaste::Service::ssh - copies files to your server using scp
version 1.002
Kevin Falcone <falcone@cpan.org>
<falcone@cpan.org>
Thomas Sibley <trs@bestpractical.com>
<trs@bestpractical.com>
The hostname to which you ssh. The left-hand side of the colon in the scp. For example: sartak.org.
sartak.org
The path on disk for your pastes. For example: public_html/paste.
public_html/paste
The path for URLs. For example: http://sartak.org/paste.
http://sartak.org/paste
Octal permissions mode to set for the temporary file before uploading. For example: 0644.
0644
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.
-d
--description
The following is a recommended Apache configuration you can drop into .htaccess in your paste dir.
.htaccess
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.
.pl
.cgi
To install App::Nopaste, copy and paste the appropriate command in to your terminal.
cpanm
cpanm App::Nopaste
CPAN shell
perl -MCPAN -e shell install App::Nopaste
For more information on module installation, please visit the detailed CPAN module installation guide.