Neocky / pluGET

📦 Powerful Package manager which updates plugins & server software for minecraft servers
Apache License 2.0
150 stars 27 forks source link

SFTP: You will need to explicitly load HostKeys #2

Open Neocky opened 3 years ago

Neocky commented 3 years ago

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.