Skip to main content

Provider package apache-airflow-providers-ssh for Apache Airflow

Project description

Package apache-airflow-providers-ssh

Release: 2.3.0

Secure Shell (SSH)

Provider package

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

You can find package information and changelog for the provider in the documentation.


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

The package supports the following python versions: 3.6,3.7,3.8,3.9

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




  • 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)



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



  • Optimise connection importing for Airflow 2.2.0



  • 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)


Breaking changes

  • Auto-apply apply_default decorator (#15667)


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)



  • A bunch of template_fields_renderers additions (#15130)



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


Updated documentation and readme files.


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


Initial version of the provider.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for apache-airflow-providers-ssh, version 2.3.0
Filename, size File type Python version Upload date Hashes
Filename, size apache_airflow_providers_ssh-2.3.0-py3-none-any.whl (19.4 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size apache-airflow-providers-ssh-2.3.0.tar.gz (15.3 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page