aboutsummaryrefslogtreecommitdiffstats
path: root/man/en/sos-report.1
diff options
context:
space:
mode:
authorJake Hunsaker <jhunsake@redhat.com>2021-05-14 13:10:04 -0400
committerJake Hunsaker <jhunsake@redhat.com>2021-06-01 10:35:11 -0400
commit5298080d7360202c72b0af2e24994e4bfad72322 (patch)
tree0b62e698be3173179139e57319119c15aff97e52 /man/en/sos-report.1
parenta26b8eb44df5effd5928ed5e2809450af93242e5 (diff)
downloadsos-5298080d7360202c72b0af2e24994e4bfad72322.tar.gz
[Policy] Add SFTP upload support
Adds support for uploading via SFTP. This is done via pexpect calling the system's locally available SFTP binary. If either that binary or pexpect are unavailable on the local system, we will exit gracefully and report the issue. This allows sos to keep python3-pexpect as a recommends rather than a hard dependency. Signed-off-by: Jake Hunsaker <jhunsake@redhat.com>
Diffstat (limited to 'man/en/sos-report.1')
-rw-r--r--man/en/sos-report.114
1 files changed, 14 insertions, 0 deletions
diff --git a/man/en/sos-report.1 b/man/en/sos-report.1
index c38753d4..799defaf 100644
--- a/man/en/sos-report.1
+++ b/man/en/sos-report.1
@@ -36,6 +36,7 @@ sosreport \- Collect and package diagnostic and support data
[--upload] [--upload-url url] [--upload-user user]\fR
[--upload-directory dir] [--upload-pass pass]\fR
[--upload-no-ssl-verify] [--upload-method]\fR
+ [--upload-protocol protocol]\fR
[--experimental]\fR
[-h|--help]\fR
@@ -385,6 +386,19 @@ untrusted by the local system.
Default behavior is to perform SSL verification against all upload locations.
.TP
+.B \--upload-protocol PROTO
+Manually specify the protocol to use for uploading to the target \fBupload-url\fR.
+
+Normally this is determined via the upload address, assuming that the protocol is part
+of the address provided, e.g. 'https://example.com'. By using this option, sos will skip
+the protocol check and use the method defined for the specified PROTO.
+
+For RHEL systems, setting this option to \fBsftp\fR will skip the initial attempt to
+upload to the Red Hat Customer Portal, and only attempt an upload to Red Hat's SFTP server,
+which is typically used as a fallback target.
+
+Valid values for PROTO are: 'auto' (default), 'https', 'ftp', 'sftp'.
+.TP
.B \--experimental
Enable plugins marked as experimental. Experimental plugins may not have
been tested for this port or may still be under active development.