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 version 1.013
10
12 NOPASTE_SSH_SERVER
13 The hostname to which you ssh. The left-hand side of the colon in
14 the scp. For example: "sartak.org".
15
16 NOPASTE_SSH_DOCROOT
17 The path on disk for your pastes. For example: "public_html/paste".
18
19 NOPASTE_SSH_WEBPATH
20 The path for URLs. For example: "http://sartak.org/paste".
21
22 NOPASTE_SSH_MODE
23 Octal permissions mode to set for the temporary file before
24 uploading. For example: 0644.
25
26 NOPASTE_SSH_USE_DESCRIPTION
27 Use the supplied description in the paste filename for easier
28 identification of pastes. Defaults to the source filename, if any,
29 but is overridden by an explicit "-d" or "--description" command
30 line argument.
31
33 The following is a recommended Apache configuration you can drop into
34 ".htaccess" in your paste dir.
35
36 RemoveHandler .cgi
37 RemoveHandler .pl
38 AddDefaultCharset utf-8
39 Options -ExecCGI -FollowSymLinks -Includes -MultiViews
40
41 It prevents common means of script execution so that ".pl" and ".cgi"
42 files won't run and defaults the character set to UTF-8 so browsers
43 don't have to guess wrong.
44
46 Bugs may be submitted through the RT bug tracker
47 <https://rt.cpan.org/Public/Dist/Display.html?Name=App-Nopaste> (or
48 bug-App-Nopaste@rt.cpan.org <mailto:bug-App-Nopaste@rt.cpan.org>).
49
51 Kevin Falcone <falcone@cpan.org
52
53 Thomas Sibley <trs@bestpractical.com>
54
56 This software is copyright (c) 2008 by Shawn M Moore.
57
58 This is free software; you can redistribute it and/or modify it under
59 the same terms as the Perl 5 programming language system itself.
60
61
62
63perl v5.34.0 2021-07-22 App::Nopaste::Service::ssh(3)