SSH / SFTP (dagster-ssh)

This library provides an integration with SSH and SFTP.

class dagster_ssh.SSHResource(remote_host, remote_port, username=None, password=None, key_file=None, key_string=None, timeout=10, keepalive_interval=30, compress=True, no_host_key_check=True, allow_host_key_change=False, logger=None)[source]

Resource for ssh remote execution using Paramiko. ref: https://github.com/paramiko/paramiko

dagster_ssh.ssh_resource ResourceDefinition[source]

Config Schema:
remote_host (dagster.StringSource)

remote host to connect to

remote_port (Int, optional)

port of remote host to connect (Default is paramiko SSH_PORT)

Default Value: 22

username (dagster.StringSource, optional)

username to connect to the remote_host

password (dagster.StringSource, optional)

password of the username to connect to the remote_host

key_file (dagster.StringSource, optional)

key file to use to connect to the remote_host.

key_string (dagster.StringSource, optional)

key string to use to connect to remote_host

timeout (Int, optional)

timeout for the attempt to connect to the remote_host.

Default Value: 10

keepalive_interval (Int, optional)

send a keepalive packet to remote host every keepalive_interval seconds

Default Value: 30

compress (Bool, optional)

Default Value: True

no_host_key_check (Bool, optional)

Default Value: True

allow_host_key_change (Bool, optional)

Default Value: False