eladkal commented on a change in pull request #20757:
URL: https://github.com/apache/airflow/pull/20757#discussion_r810514063



##########
File path: docs/apache-airflow-providers-sftp/connections/sftp.rst
##########
@@ -73,17 +73,24 @@ Extra (optional)
     * ``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.
 
-Example “extras” field:
+Example “extras” field using ``host_key``:
 
-.. code-block:: bash
+.. code-block:: json
 
     {
-       "key_file": "path/to/private_key",
        "no_host_key_check": "false",
        "allow_host_key_change": "false",
        "host_key": "AAAHD...YDWwq=="
     }
 
+Example “extras” field using ``key_file`` or ``private_key``:
+
+.. code-block:: json
+    {
+       "key_file": "path/to/private_key",
+       "no_host_key_check": "true"
+    }
+

Review comment:
       ```suggestion
   Example “extras” field using ``key_file`` or ``private_key```:
   
   .. code-block:: json
   
       {
          "key_file": "path/to/private_key",
          "no_host_key_check": "true"
       }
   
   ```




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