Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error message when oscap not installed on remote machine #2

Open
gregelin opened this issue Apr 12, 2015 · 1 comment
Open

Error message when oscap not installed on remote machine #2

gregelin opened this issue Apr 12, 2015 · 1 comment

Comments

@gregelin
Copy link

This issue is opened to capture current error output of trying to run targeting a remote machine that does not have openscap installed.

No suggestion is being made, just wanted to document what the current code feedback is.

[vagrant@localmachine ~]$ ./oscap-ssh [email protected] 22 xccdf eval --profile xccdf_org.ssgproject.content_profile_common --report report.html /usr/share/xml/scap/ssg/content/ssg-rhel6-ds.xml 
Connecting to '[email protected]' on port '22'...
[email protected]'s password: 
Connected!
Copying input file '/usr/share/xml/scap/ssg/content/ssg-rhel6-ds.xml' to remote working directory '/tmp/tmp.XQTLnHZrms'...
ssg-rhel6-ds.xml                                                                      100% 2808KB   2.7MB/s   00:00    
Starting the evaluation...
bash: oscap: command not found
oscap exit code: 127
Copying back requested files...
scp: /tmp/tmp.XQTLnHZrms/report.html: No such file or directory
Failed to copy the HTML report back to local machine!
@mpreisler
Copy link
Owner

Probably the same thing happens with the updated OpenSCAP oscap-ssh. Do you think we should change the message? To me it is understandable but I am not a good person to determine that :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants