You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "potiuk (via GitHub)" <gi...@apache.org> on 2023/03/05 00:13:49 UTC

[GitHub] [airflow] potiuk commented on a diff in pull request #29914: Ssh connection docs: Fix wrong escaping of the newline

potiuk commented on code in PR #29914:
URL: https://github.com/apache/airflow/pull/29914#discussion_r1125576552


##########
docs/apache-airflow-providers-ssh/connections/ssh.rst:
##########
@@ -99,7 +99,7 @@ Extra (optional)
 
     .. code-block:: bash
 
-       python -c 'import re, sys; print(re.sub("\r\n", "\\\\n", sys.stdin.read()))' < /path/to/your/key

Review Comment:
   I think it depends on where you are connecting.
   
   I guess the right pattern will be `\r?\n`)



-- 
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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org