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

This allows man-in-the-middle attacks #3670

Open
copyleftdev opened this issue Sep 2, 2024 · 0 comments
Open

This allows man-in-the-middle attacks #3670

copyleftdev opened this issue Sep 2, 2024 · 0 comments
Assignees

Comments

@copyleftdev
Copy link

HostKeyCallback: ssh.InsecureIgnoreHostKey(),

This allows man-in-the-middle attacks. Use the 'golang.org/x/crypto/ssh/knownhosts' package to do host key verification. See https://skarlso.github.io/2019/02/17/go-ssh-with-host-key-verification/ to learn more about the problem and how to fix it.

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