the .local domain example should be in ssh_config, not in sshd_config

This commit is contained in:
Jakub Jelen 2015-03-11 11:43:08 +01:00
parent e3688ed6ab
commit 4769e25cb1
2 changed files with 11 additions and 14 deletions

View File

@ -1,14 +1,11 @@
diff -up openssh-5.8p1/sshd_config.localdomain openssh-5.8p1/sshd_config diff --git a/ssh_config b/ssh_config
--- openssh-5.8p1/sshd_config.localdomain 2011-04-22 11:37:49.273648812 +0200 --- a/ssh_config
+++ openssh-5.8p1/sshd_config 2011-04-22 11:39:31.758648401 +0200 +++ b/ssh_config
@@ -130,6 +130,10 @@ X11Forwarding yes @@ -48,3 +48,7 @@
# override default of no subsystems # VisualHostKey no
Subsystem sftp /usr/libexec/sftp-server # ProxyCommand ssh -q -W %h:%p gateway.example.com
# RekeyLimit 1G 1h
+#
+# Uncomment this if you want to use .local domain +# Uncomment this if you want to use .local domain
+#Host *.local +#Host *.local
+# CheckHostIP no +# CheckHostIP no
+
# Example of overriding settings on a per-user basis
#Match User anoncvs
# X11Forwarding no

View File

@ -2,9 +2,9 @@ diff -up openssh-6.3p1/ssh_config.redhat openssh-6.3p1/ssh_config
--- openssh-6.3p1/ssh_config.redhat 2013-10-11 14:51:18.345876648 +0200 --- openssh-6.3p1/ssh_config.redhat 2013-10-11 14:51:18.345876648 +0200
+++ openssh-6.3p1/ssh_config 2013-10-11 15:13:05.429829266 +0200 +++ openssh-6.3p1/ssh_config 2013-10-11 15:13:05.429829266 +0200
@@ -46,3 +46,14 @@ @@ -46,3 +46,14 @@
# VisualHostKey no # Uncomment this if you want to use .local domain
# ProxyCommand ssh -q -W %h:%p gateway.example.com #Host *.local
# RekeyLimit 1G 1h # CheckHostIP no
+Host * +Host *
+ GSSAPIAuthentication yes + GSSAPIAuthentication yes
+# If this option is set to yes then remote X11 clients will have full access +# If this option is set to yes then remote X11 clients will have full access