pluGET
pluGET copied to clipboard
SFTP: You will need to explicitly load HostKeys
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.