summaryrefslogtreecommitdiff
path: root/lib/ansible/plugins/connection
diff options
context:
space:
mode:
authorwnjuguna <jbworldus@gmail.com>2022-09-15 18:03:09 +0300
committerGitHub <noreply@github.com>2022-09-15 11:03:09 -0400
commit952ee88f33de4d49ff5f7bd4bec3431a4b0fdc78 (patch)
treeeee8106dd07bac7cb9d9753f452a4add2cdc6b02 /lib/ansible/plugins/connection
parentd4407ca68822b1f12254957ec9918f94c23d374f (diff)
downloadansible-952ee88f33de4d49ff5f7bd4bec3431a4b0fdc78.tar.gz
Documented connection parameters required to enable scp (OpenSSH >=9.0) (#78745)
Diffstat (limited to 'lib/ansible/plugins/connection')
-rw-r--r--lib/ansible/plugins/connection/ssh.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/ansible/plugins/connection/ssh.py b/lib/ansible/plugins/connection/ssh.py
index f7d82b9b9b..e4d96289c3 100644
--- a/lib/ansible/plugins/connection/ssh.py
+++ b/lib/ansible/plugins/connection/ssh.py
@@ -292,6 +292,7 @@ DOCUMENTATION = '''
description:
- "Preferred method to use when transferring files over ssh"
- Setting to 'smart' (default) will try them in order, until one succeeds or they all fail
+ - For OpenSSH >=9.0 you must add an additional option to enable scp (scp_extra_args="-O")
- Using 'piped' creates an ssh pipe with C(dd) on either side to copy the data
choices: ['sftp', 'scp', 'piped', 'smart']
env: [{name: ANSIBLE_SSH_TRANSFER_METHOD}]
@@ -310,6 +311,7 @@ DOCUMENTATION = '''
- "Preferred method to use when transferring files over SSH."
- When set to I(smart), Ansible will try them until one succeeds or they all fail.
- If set to I(True), it will force 'scp', if I(False) it will use 'sftp'.
+ - For OpenSSH >=9.0 you must add an additional option to enable scp (scp_extra_args="-O")
- This setting will overridden by ssh_transfer_method if set.
env: [{name: ANSIBLE_SCP_IF_SSH}]
ini: