Rafa
Rafa

Reputation: 527

airflow ssh connection , connection type not displaying

I am trying to add connection to the airflow server. I wanted to have ssh added. only the below listed 5 is being displayed. Can you point me how to add the ssh connection ?

enter image description here

Upvotes: 5

Views: 6733

Answers (2)

Nikunj Kakadiya
Nikunj Kakadiya

Reputation: 3008

In Airflow >= 2.0.0 if have installed the providers after you started the airflow and you are directly going to the UI and refreshing the page and expecting the provider to show up then it won't happen.

It is must that you will have to re-start the airflow once again in order for the latest provider that you have installed to show up in the dropdownlist.

Upvotes: 1

Elad Kalif
Elad Kalif

Reputation: 15979

In Airflow < 2.0.0 all connections are available by default.

In Airflow >= 2.0.0 Airflow automatically discovers which providers additional capabilities (connections, extra links etc...) once you install provider package and re-start Airflow, those become automatically available. More information about this can be found in the docs. Specifically for SSH connection you will need to install SSH provider:

pip install apache-airflow-providers-ssh

Upvotes: 4

Related Questions