]> git.pld-linux.org Git - packages/openssh.git/blame_incremental - openssh-config.patch
do not uncomment default values, as this suggests altering these params
[packages/openssh.git] / openssh-config.patch
... / ...
CommitLineData
1--- openssh-4.6p1/sshd_config~ 2007-10-13 01:37:17.000000000 +0200
2+++ openssh-4.6p1/sshd_config 2007-10-13 01:47:12.000000000 +0200
3@@ -41,7 +41,7 @@
4 # Authentication:
5
6 #LoginGraceTime 2m
7-#PermitRootLogin prohibit-password
8+PermitRootLogin no
9 #StrictModes yes
10 #MaxAuthTries 6
11 #MaxSessions 10
12@@ -50,6 +51,9 @@
13 # To disable tunneled clear text passwords, change to no here!
14 #PasswordAuthentication yes
15 #PermitEmptyPasswords no
16+
17+# Allow DSA keys
18+PubkeyAcceptedKeyTypes +ssh-dss
19
20 # Change to no to disable s/key passwords
21 #ChallengeResponseAuthentication yes
22@@ -66,6 +70,7 @@
23 # GSSAPI options
24 #GSSAPIAuthentication no
25 #GSSAPICleanupCredentials yes
26+GSSAPIAuthentication yes
27
28 # Set this to 'yes' to enable PAM authentication, account processing,
29 # and session processing. If this is enabled, PAM authentication will
30@@ -89,10 +92,12 @@
31 # If you just want the PAM account and session checks to run without
32 # PAM authentication, then enable this but set PasswordAuthentication
33 # and ChallengeResponseAuthentication to 'no'.
34-#UsePAM no
35+UsePAM yes
36
37 #AllowAgentForwarding yes
38-#AllowTcpForwarding yes
39+# Security advisory:
40+# http://securitytracker.com/alerts/2004/Sep/1011143.html
41+AllowTcpForwarding no
42 #GatewayPorts no
43 #X11Forwarding no
44 #X11DisplayOffset 10
45@@ -106,6 +112,9 @@
46 # no default banner path
47 #Banner /some/path
48
49+# Accept locale-related environment variables, also accept some GIT vars
50+AcceptEnv LANG LC_* LANGUAGE XMODIFIERS TZ GIT_AUTHOR_NAME GIT_AUTHOR_EMAIL GIT_COMMITTER_NAME GIT_COMMITTER_EMAIL
51+
52 # override default of no subsystems
53 Subsystem sftp /usr/libexec/sftp-server
54
55@@ -119,6 +133,10 @@
56 # override default of no subsystems
57 Subsystem sftp /usr/libexec/sftp-server
58
59+# Uncomment this if you want to use .local domain
60+#Host *.local
61+# CheckHostIP no
62+
63 # Example of overriding settings on a per-user basis
64 #Match User anoncvs
65 # X11Forwarding no
66--- openssh-4.6p1/ssh_config~ 2006-06-13 05:01:10.000000000 +0200
67+++ openssh-4.6p1/ssh_config 2007-10-13 02:00:16.000000000 +0200
68@@ -20,12 +20,15 @@
69 # Host *
70 # ForwardAgent no
71 # ForwardX11 no
72+# ForwardX11Trusted yes
73 # RhostsRSAAuthentication no
74 # RSAAuthentication yes
75 # PasswordAuthentication yes
76 # HostbasedAuthentication no
77 # GSSAPIAuthentication no
78 # GSSAPIDelegateCredentials no
79+# GSSAPIKeyExchange no
80+# GSSAPITrustDNS no
81 # BatchMode no
82 # CheckHostIP yes
83 # AddressFamily any
84@@ -42,3 +45,22 @@
85 # VisualHostKey no
86 # ProxyCommand ssh -q -W %h:%p gateway.example.com
87 # RekeyLimit 1G 1h
88+
89+Host *
90+ GSSAPIAuthentication yes
91+ GSSAPIDelegateCredentials no
92+ ForwardAgent no
93+ ForwardX11 no
94+# If this option is set to yes then remote X11 clients will have full access
95+# to the original X11 display. As virtually no X11 client supports the untrusted
96+# mode correctly we set this to yes.
97+ ForwardX11Trusted yes
98+ StrictHostKeyChecking no
99+ ServerAliveInterval 60
100+ ServerAliveCountMax 10
101+ TCPKeepAlive no
102+ # Allow DSA keys
103+# PubkeyAcceptedKeyTypes +ssh-dss
104+# HostkeyAlgorithms +ssh-dss
105+# Send locale-related environment variables, also pass some GIT vars
106+ SendEnv LANG LC_* LANGUAGE XMODIFIERS TZ GIT_AUTHOR_NAME GIT_AUTHOR_EMAIL GIT_COMMITTER_NAME GIT_COMMITTER_EMAIL
107+ HashKnownHosts yes
This page took 0.024526 seconds and 4 git commands to generate.