Skip to contentSkip to conversation

openssh: sync with upstream's default

PATCH New [email protected] 1 participant 1 message Aug 3, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 openssh: sync with upstream's default

From: Chen Qi <[email protected]>

This change sync the contents of this file with upstream's ssh_config except for the locally added line 'Include /etc/ssh/ssh_config.d/*.conf'.

More specifically the ForwardXXX options are disabled by default, this sync with what ssh_config(5) says about these two items.

In addition, the RSAAuthentication items are removed as they are v1 protocol. See the contents of Changelog file in openssh project as below:
"""
commit bfe19197a92b7916f64a121fbd3c179abf15e218

Author: Darren Tucker <[email protected]>
Date:   Fri Jul 2 15:43:28 2021 +1000

Remove now-unused SSHv1 enums.

sRhostsRSAAuthentication and sRSAAuthentication are protocol 1 options and are no longer used.
"""

---
 meta/recipes-connectivity/openssh/openssh/ssh_config | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)
meta/recipes-connectivity/openssh/openssh/ssh_config +3 -5
index ca70f37375..cb2774a163 100644
@@ -19,11 +19,9 @@
 
 Include /etc/ssh/ssh_config.d/*.conf
 
-Host *
-  ForwardAgent yes
-  ForwardX11 yes
-#   RhostsRSAAuthentication no
-#   RSAAuthentication yes
+# Host *
+#   ForwardAgent no
+#   ForwardX11 no
 #   PasswordAuthentication yes
 #   HostbasedAuthentication no
 #   GSSAPIAuthentication no
Signature · 1 line
2.40.0