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

SSH modules writing to ~/.ssh/known_hosts #10266

Closed
wvu opened this issue Jul 6, 2018 · 3 comments · Fixed by #10456
Closed

SSH modules writing to ~/.ssh/known_hosts #10266

wvu opened this issue Jul 6, 2018 · 3 comments · Fixed by #10456

Comments

@wvu
Copy link
Contributor

wvu commented Jul 6, 2018

This has been annoying me for quite some time.

  1. Run an SSH module
  2. See that it wrote to ~/.ssh/known_hosts
  3. Get angry because you just used a scanner

Note that the cargo-culted SSH options hash we use already disables config and agent.

@h00die
Copy link
Contributor

h00die commented Jul 6, 2018

I'll also add that if you are testing multiple networks on an engagement with overlapping IP ranges, you will get a silent failure for ssh_login if there is a server ssh key mismatch. That's always annoyed the hell out of me.

@kkirsche
Copy link
Contributor

Patch submitted @wvu-r7

@wvu
Copy link
Contributor Author

wvu commented Aug 16, 2018

Hooray!

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

Successfully merging a pull request may close this issue.

3 participants