s.set_missing_host_key_policy(paramiko.AutoAddPolicy())
s.connect('xxx.xxx.xxx.xxx', 22, username=xxx, password='', timeout=4)
sftp = s.open_sftp()
How to transfer a file to ssh server in an ssh-connection made by paramiko?