summaryrefslogtreecommitdiff
path: root/set-ssh-config.patch
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-10-02 01:13:25 +0000
committerCoprDistGit <infra@openeuler.org>2023-10-02 01:13:25 +0000
commitf38978765535e8c844371dbcd8e2ae1ace135e08 (patch)
tree8f6f73cc41ec340be45959fae67da4c6abec1e21 /set-ssh-config.patch
parent151bd95e0af0e9382ca9065b0d6cc6d62f1ac794 (diff)
automatic import of opensshopeneuler20.03
Diffstat (limited to 'set-ssh-config.patch')
-rw-r--r--set-ssh-config.patch30
1 files changed, 30 insertions, 0 deletions
diff --git a/set-ssh-config.patch b/set-ssh-config.patch
new file mode 100644
index 0000000..4899679
--- /dev/null
+++ b/set-ssh-config.patch
@@ -0,0 +1,30 @@
+From 8b8319aac379d9d6f75577507e87a97a8aa8aadc Mon Sep 17 00:00:00 2001
+From: renmingshuai <renmingshuai@huawei.com>
+Date: Mon, 5 Sep 2022 10:33:02 +0800
+Subject: [PATCH] set-ssh-config
+
+---
+ ssh_config | 9 +++++++++
+ 1 file changed, 9 insertions(+)
+
+diff --git a/ssh_config b/ssh_config
+index df22e2f..46b0987 100644
+--- a/ssh_config
++++ b/ssh_config
+@@ -48,4 +48,13 @@
+ # file under /etc/ssh/ssh_config.d/ which will be automatically
+ # included below. For more information, see manual page for
+ # update-crypto-policies(8) and ssh_config(5).
++Match final all
++ Include /etc/crypto-policies/back-ends/openssh.config
++ GSSAPIAuthentication yes
++ ForwardX11Trusted yes
++ SendEnv LANG LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES
++ SendEnv LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT
++ SendEnv LC_IDENTIFICATION LC_ALL LANGUAGE
++ SendEnv XMODIFIERS
++
+ Include /etc/ssh/ssh_config.d/*.conf
+--
+1.8.3.1
+