1App::Nopaste::Service::Usssehr(3C)ontributed Perl DocumeAnptpa:t:iNoonpaste::Service::ssh(3)
2
3
4
6 App::Nopaste::Service::ssh - copies files to your server using scp
7
9 Kevin Falcone "<falcone@cpan.org>"
10
11 Thomas Sibley "<trs@bestpractical.com>"
12
14 NOPASTE_SSH_SERVER
15 The hostname to which you ssh. The left-hand side of the colon in
16 the scp. For example: "sartak.org".
17
18 NOPASTE_SSH_DOCROOT
19 The path on disk for your pastes. For example: "public_html/paste".
20
21 NOPASTE_SSH_WEBPATH
22 The path for URLs. For example: "http://sartak.org/paste".
23
24 NOPASTE_SSH_MODE
25 Octal permissions mode to set for the temporary file before
26 uploading. For example: 0644.
27
28 NOPASTE_SSH_USE_DESCRIPTION
29 Use the supplied description in the paste filename for easier
30 identification of pastes. Defaults to the source filename, if any,
31 but is overridden by an explicit "-d" or "--description" command
32 line argument.
33
35 The following is a recommended Apache configuration you can drop into
36 ".htaccess" in your paste dir.
37
38 RemoveHandler .cgi
39 RemoveHandler .pl
40 AddDefaultCharset utf-8
41 Options -ExecCGI -FollowSymLinks -Includes -MultiViews
42
43 It prevents common means of script execution so that ".pl" and ".cgi"
44 files won't run and defaults the character set to UTF-8 so browsers
45 don't have to guess wrong.
46
47
48
49perl v5.12.3 2011-08-23 App::Nopaste::Service::ssh(3)