transport = paramiko.Transport(('127.0.0.1', tunnelport))
transport.connect(username=nodeusername, password=nodepw)
sftp = paramiko.SFTPClient.from_transport(transport)
sftp.put(localfile, remotefile)
SSH to machine through a middle host