SSH Upload

import pysftp

# Define the SFTP connection information
host = 'server.com'
username = 'user'
password = 'pass'

# Define the local file path and remote file path
local_file = '/tmp/seq'
remote_file = '/tmp/seq'

# Connect to the SFTP server
with pysftp.Connection(host, username=username, password=password) as sftp:
# Upload the file
sftp.put(local_file, remote_file)
sftp.close()