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) #4383

Closed
mhackethal opened this issue Aug 11, 2019 · 1 comment
Closed

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

mhackethal opened this issue Aug 11, 2019 · 1 comment
Labels
Component: Train Remote connectivity Type: Bug Feature not working as expected

Comments

@mhackethal
Copy link
Contributor

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

@clintoncwolfe
Copy link
Contributor

Issue moved to inspec/train #510 via ZenHub

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

No branches or pull requests

3 participants