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

SFTP: You will need to explicitly load HostKeys #2

Open
Neocky opened this issue Mar 13, 2021 · 0 comments
Open

SFTP: You will need to explicitly load HostKeys #2

Neocky opened this issue Mar 13, 2021 · 0 comments
Labels
Bug Something isn't working wontfix This will not be worked on

Comments

@Neocky
Copy link
Owner

Neocky commented Mar 13, 2021

Describe the bug
When using SFTP there always comes the no "HostKeys loaded" issue.
SFTP works nontheless.

Error:

UserWarning: Failed to load HostKeys from C:\Users\USER\.ssh\known_hosts.  You will need to explicitly load HostKeys (cnopts.hostkeys.load(filename)) or disableHostKey checking (cnopts.hostkeys = None).
  warnings.warn(wmsg, UserWarning)

Setting HostKeys = None won't work.

@Neocky Neocky added the Bug Something isn't working label Mar 13, 2021
@Neocky Neocky added the wontfix This will not be worked on label Jul 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

1 participant