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

InSpec prompt for interactive password on bad password (SSH) #510

Open
clintoncwolfe opened this issue Aug 19, 2019 · 0 comments
Open

InSpec prompt for interactive password on bad password (SSH) #510

clintoncwolfe opened this issue Aug 19, 2019 · 0 comments

Comments

@clintoncwolfe
Copy link
Contributor

@mhackethal commented on Sun Aug 11 2019

InSpec Version 4.11.3
Source on WIndows 2016
Target Linux by using SSH with Username+Password

Describe the problem

InSpec runs into an interactive password prompt if a wrong password for linux target is submitted. This causes any automated execution to break. The expected behaviour is that
inspec exit with error and message "Wrong Password". Compareable to the error message
on winRM wrong password.

Sample:
`
inspec detect --target="ssh://username:badpassword@hostname:22" -l debug
username@host´s password:

`

Possible Solution

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

No branches or pull requests

2 participants