Blame SOURCES/openscap-1.3.6-PR-1786-document-local-files-in-oscap-ssh-man-page.patch

909fca
From 9f9a322b73e71bb4945a736605eb0515acf9a207 Mon Sep 17 00:00:00 2001
909fca
From: =?UTF-8?q?Jan=20=C4=8Cern=C3=BD?= <jcerny@redhat.com>
909fca
Date: Wed, 28 Jul 2021 08:36:50 +0200
909fca
Subject: [PATCH] Document problems with --local-files in oscap-ssh
909fca
909fca
Related to: https://github.com/OpenSCAP/openscap/pull/1769
909fca
Thanks @ggbecker for pointing this out.
909fca
---
909fca
 utils/oscap-ssh.8 | 3 +++
909fca
 1 file changed, 3 insertions(+)
909fca
909fca
diff --git a/utils/oscap-ssh.8 b/utils/oscap-ssh.8
909fca
index 416b1f3e5..05c80cd3c 100644
909fca
--- a/utils/oscap-ssh.8
909fca
+++ b/utils/oscap-ssh.8
909fca
@@ -67,6 +67,9 @@ Specific option for oscap-ssh (must be first argument):
909fca
 oscap-ssh checks out the SSH_ADDITIONAL_OPTIONS environment variable, and pastes its contents into the command-line of ssh to the location where options are expected.
909fca
 Supply the variable in form of a string that corresponds to a section of the ssh command-line and that consists of options you want to pass.
909fca
 
909fca
+.SS Using --local-files option
909fca
+The oscap-ssh command supports the --local-files option, but it isn't possible to pass './' and '../' as an argument. Use a full directory path instead.
909fca
+
909fca
 .SH EXAMPLE USAGE
909fca
 .SS Simple XCCDF evaluation
909fca
 The following command evaluates a remote Fedora machine as root. HTML report is written out as report.html on the local machine. Can be executed from any machine that has ssh, scp and bash. The local machine does not need to have openscap installed.