Guest User

Untitled

a guest
Nov 30th, 2017
108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.16 KB | None | 0 0
  1. import pysftp
  2.  
  3. cnopts = pysftp.CnOpts()
  4. cnopts.hostkeys = None
  5.  
  6. with pysftp.Connection(host, username=username, password=password, cnopts=cnopts) as sftp:
Add Comment
Please, Sign In to add comment