apache-airflow-providers-ssh

Package apache-airflow-providers-ssh

Secure Shell (SSH)

Release: 2.3.0

Provider package

This is a provider package for ssh provider. All classes for this provider package are in airflow.providers.ssh python package.

Installation

You can install this package on top of an existing Airflow 2.1+ installation via pip install apache-airflow-providers-ssh

PIP requirements

PIP package

Version required

apache-airflow

>=2.1.0

paramiko

>=2.6.0

pysftp

>=0.2.9

sshtunnel

>=0.3.2,<0.5

Changelog

2.3.0

Features

  • Refactor SSHOperator so a subclass can run many commands (#10874) (#17378)

  • update minimum version of sshtunnel to 0.3.2 (#18684)

  • Correctly handle get_pty attribute if command passed as XComArg or template (#19323)

2.2.0

Features

  • [Airflow 16364] Add conn_timeout and cmd_timeout params to SSHOperator; add conn_timeout param to SSHHook (#17236)

2.1.1

Misc

  • Optimise connection importing for Airflow 2.2.0

2.1.0

Features

  • Add support for non-RSA type key for SFTP hook (#16314)

Bug Fixes

  • SSHHook: Using correct hostname for host_key when using non-default ssh port (#15964)

  • Correctly load openssh-gerenated private keys in SSHHook (#16756)

2.0.0

Breaking changes

  • Auto-apply apply_default decorator (#15667)

Warning

Due to apply_default decorator removal, this version of the provider requires Airflow 2.1.0+. If your Airflow version is < 2.1.0, and you want to install this provider version, first upgrade Airflow to at least version 2.1.0. Otherwise your Airflow package version will be upgraded automatically and you will have to manually run airflow upgrade db to complete the migration.

Bug Fixes

  • Display explicit error in case UID has no actual username (#15212)

1.3.0

Features

  • A bunch of template_fields_renderers additions (#15130)

1.2.0

Features

  • Added support for DSS, ECDSA, and Ed25519 private keys in SSHHook (#12467)

1.1.0

Updated documentation and readme files.

Features

  • [AIRFLOW-7044] Host key can be specified via SSH connection extras. (#12944)

1.0.0

Initial version of the provider.

Was this entry helpful?