uranusjr commented on a change in pull request #18988:
URL: https://github.com/apache/airflow/pull/18988#discussion_r735313817



##########
File path: docs/apache-airflow-providers-sftp/connections/sftp.rst
##########
@@ -72,7 +70,8 @@ Extra (optional)
     * ``host_key``: The base64 encoded ssh-rsa public key of the host, as you 
would find in the known_hosts file.
       Specifying this, along with no_host_key_check=False allows you to only 
make the connection if the public key of
       the endpoint matches this value.
-    * ``private_key`` Specify the path to private key file(str) or 
paramiko.AgentKey
+    * ``private_key`` Specify the content of the private key, the path to the 
private key file(str) or paramiko.AgentKey
+    * ``key_file`` - Full Path of the private SSH Key file that will be used 
to connect to the remote_host.

Review comment:
       Since `SFTPHook` really just takes all the extras that `SSHHook` does, 
maybe we should just tell the user to read the documentation page on SSH 
connections instead. Not quite sure.




-- 
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.

To unsubscribe, e-mail: [email protected]

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


Reply via email to