Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use SSH operator in DAG-Factory to run bash command in other server #173

Open
Sachin194 opened this issue Aug 23, 2023 · 0 comments
Open

Comments

@Sachin194
Copy link

Sachin194 commented Aug 23, 2023

Since we need to cerate SSH hook to create SSH operator, We need to have 2 operators for this purpose as mentioned below.
airflow.contrib.operators.ssh_operator.SSHOperator
airflow.contrib.hooks.ssh_hook.SSHHook

But in dag factory we are able to add only one operator . Please explain how to use SSH operator in DAG-Factory.

Attached the sample YAML file which we tried to add multiple operators for SSH .
ssh_config.txt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant