pgillet commented on a change in pull request #14028:
URL: https://github.com/apache/airflow/pull/14028#discussion_r596253056



##########
File path: airflow/providers/ssh/hooks/ssh.py
##########
@@ -131,9 +132,11 @@ def __init__(  # pylint: disable=too-many-statements
                     self.key_file = extra_options.get("key_file")
 
                 private_key = extra_options.get('private_key')
-                private_key_passphrase = 
extra_options.get('private_key_passphrase')
+                self.private_key_passphrase = 
extra_options.get('private_key_passphrase')

Review comment:
       The idea was to reuse it in SFTPHook subclass, not to change it. The 
private key passphrase is consumed by Paramiko in SSHhook, while it is consumed 
by Pysftp in SFTPHook. Anyway, I do not inherit this field anymore.




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to