--sudooption, the command fails to retrieve the result files, as shown in the example below
# oscap-ssh --sudo user@system 22 xccdf eval ... --report report.html ... [...] oscap exit code: 0 Copying back requested files... scp: /tmp/tmp.XXX/report.html: Permission denied Failed to copy the HTML report back to local machine!
- Red Hat Enterprise Linux (RHEL) 7 and later
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.