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

OSX and probably all BSDs fail with sudo-password #136

Closed
thomascate opened this issue Aug 17, 2016 · 2 comments
Closed

OSX and probably all BSDs fail with sudo-password #136

thomascate opened this issue Aug 17, 2016 · 2 comments
Labels
Platform: SSH Type: Bug Feature not working as expected

Comments

@thomascate
Copy link

Hi,

Currently the ssh transport uses base64 -d during auth for sudo with password. However on BSD machines the flag is -D.

inspec exec -t ssh://[email protected] -i key ~/.ssh/id_rsa --sudo --sudo-password 'hunter2' Sudo failed: base64: invalid option -- d Usage: base64 [-dhvD] [-b num] [-i in_file] [-o out_file] -h, --help display this message -D, --decode decodes input -b, --break break encoded string into num character lines -i, --input input file (default: "-" for stdin) -o, --output output file (default: "-" for stdout) Password:

@clintoncwolfe
Copy link
Contributor

Refs #445

@clintoncwolfe
Copy link
Contributor

Appears fixed on #137

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Platform: SSH Type: Bug Feature not working as expected
Projects
None yet
Development

No branches or pull requests

4 participants