vishalmishra434 / rpms / openssh

Forked from rpms/openssh a month ago
Clone
Jan F. Chadima a3ba41
diff -up openssh-5.2p1/sshd_config.redhat openssh-5.2p1/sshd_config
Jan F. Chadima a3ba41
--- openssh-5.2p1/sshd_config.redhat	2008-07-02 14:35:43.000000000 +0200
Jan F. Chadima adad2a
+++ openssh-5.2p1/sshd_config	2008-07-23 14:11:12.000000000 +0200
Tomáš Mráz c9833c
@@ -33,6 +33,7 @@ Protocol 2
Tomáš Mráz ad07b9
 # Logging
Tomáš Mráz ad07b9
 # obsoletes QuietMode and FascistLogging
Tomáš Mráz ad07b9
 #SyslogFacility AUTH
Tomáš Mráz ad07b9
+SyslogFacility AUTHPRIV
Tomáš Mráz ad07b9
 #LogLevel INFO
Tomáš Mráz ad07b9
 
Tomáš Mráz ad07b9
 # Authentication:
Tomáš Mráz 93a474
@@ -60,9 +61,11 @@ Protocol 2
Tomáš Mráz ad07b9
 # To disable tunneled clear text passwords, change to no here!
Tomáš Mráz ad07b9
 #PasswordAuthentication yes
Tomáš Mráz ad07b9
 #PermitEmptyPasswords no
Tomáš Mráz ad07b9
+PasswordAuthentication yes
Tomáš Mráz ad07b9
 
Tomáš Mráz ad07b9
 # Change to no to disable s/key passwords
Tomáš Mráz ad07b9
 #ChallengeResponseAuthentication yes
Tomáš Mráz ad07b9
+ChallengeResponseAuthentication no
Tomáš Mráz ad07b9
 
Tomáš Mráz ad07b9
 # Kerberos options
Tomáš Mráz ad07b9
 #KerberosAuthentication no
Tomáš Mráz 93a474
@@ -72,7 +75,9 @@ Protocol 2
Tomáš Mráz ad07b9
 
Tomáš Mráz ad07b9
 # GSSAPI options
Tomáš Mráz ad07b9
 #GSSAPIAuthentication no
Tomáš Mráz ad07b9
+GSSAPIAuthentication yes
Tomáš Mráz ad07b9
 #GSSAPICleanupCredentials yes
Tomáš Mráz ad07b9
+GSSAPICleanupCredentials yes
Tomáš Mráz ad07b9
 
Tomáš Mráz ad07b9
 # Set this to 'yes' to enable PAM authentication, account processing, 
Tomáš Mráz ad07b9
 # and session processing. If this is enabled, PAM authentication will 
Tomáš Mráz 93a474
@@ -84,11 +89,18 @@ Protocol 2
Tomáš Mráz ad07b9
 # PAM authentication, then enable this but set PasswordAuthentication
Tomáš Mráz ad07b9
 # and ChallengeResponseAuthentication to 'no'.
Tomáš Mráz ad07b9
 #UsePAM no
Tomáš Mráz ad07b9
+UsePAM yes
Tomáš Mráz 93a474
+
Tomáš Mráz b9a07a
+# Accept locale-related environment variables
Tomáš Mráz b9a07a
+AcceptEnv LANG LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES
Tomáš Mráz b9a07a
+AcceptEnv LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT
Tomáš Mráz b9a07a
+AcceptEnv LC_IDENTIFICATION LC_ALL LANGUAGE
Tomáš Mráz ad07b9
 
Tomáš Mráz 93a474
 #AllowAgentForwarding yes
Tomáš Mráz ad07b9
 #AllowTcpForwarding yes
Tomáš Mráz ad07b9
 #GatewayPorts no
Tomáš Mráz ad07b9
 #X11Forwarding no
Tomáš Mráz ad07b9
+X11Forwarding yes
Tomáš Mráz ad07b9
 #X11DisplayOffset 10
Tomáš Mráz ad07b9
 #X11UseLocalhost yes
Tomáš Mráz ad07b9
 #PrintMotd yes
Jan F. Chadima adad2a
diff -up openssh-5.2p1/ssh_config.redhat openssh-5.2p1/ssh_config
Jan F. Chadima adad2a
--- openssh-5.2p1/ssh_config.redhat	2007-06-11 06:04:42.000000000 +0200
Jan F. Chadima adad2a
+++ openssh-5.2p1/ssh_config	2008-07-23 14:07:29.000000000 +0200
Jan F. Chadima adad2a
@@ -44,3 +44,13 @@
Jan F. Chadima adad2a
 #   TunnelDevice any:any
Jan F. Chadima adad2a
 #   PermitLocalCommand no
Jan F. Chadima adad2a
 #   VisualHostKey no
Jan F. Chadima adad2a
+Host *
Jan F. Chadima adad2a
+	GSSAPIAuthentication yes
Jan F. Chadima adad2a
+# If this option is set to yes then remote X11 clients will have full access
Jan F. Chadima adad2a
+# to the original X11 display. As virtually no X11 client supports the untrusted
Jan F. Chadima adad2a
+# mode correctly we set this to yes.
Jan F. Chadima adad2a
+	ForwardX11Trusted yes
Jan F. Chadima adad2a
+# Send locale-related environment variables
Jan F. Chadima adad2a
+	SendEnv LANG LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES 
Jan F. Chadima adad2a
+	SendEnv LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT 
Jan F. Chadima adad2a
+	SendEnv LC_IDENTIFICATION LC_ALL LANGUAGE
Jan F. Chadima adad2a
diff -up openssh-5.2p1/sshd_config.0.redhat openssh-5.2p1/sshd_config.0
Jan F. Chadima adad2a
--- openssh-5.2p1/sshd_config.0.redhat	2008-07-21 10:30:51.000000000 +0200
Jan F. Chadima adad2a
+++ openssh-5.2p1/sshd_config.0	2008-07-23 14:07:29.000000000 +0200
Jan F. Chadima adad2a
@@ -490,9 +490,9 @@ DESCRIPTION
Jan F. Chadima adad2a
 
Jan F. Chadima adad2a
      SyslogFacility
Jan F. Chadima adad2a
              Gives the facility code that is used when logging messages from
Jan F. Chadima adad2a
-             sshd(8).  The possible values are: DAEMON, USER, AUTH, LOCAL0,
Jan F. Chadima adad2a
-             LOCAL1, LOCAL2, LOCAL3, LOCAL4, LOCAL5, LOCAL6, LOCAL7.  The de-
Jan F. Chadima adad2a
-             fault is AUTH.
Jan F. Chadima adad2a
+             sshd(8).  The possible values are: DAEMON, USER, AUTH, AUTHPRIV,
Jan F. Chadima adad2a
+             LOCAL0, LOCAL1, LOCAL2, LOCAL3, LOCAL4, LOCAL5, LOCAL6, LOCAL7.
Jan F. Chadima adad2a
+             The default is AUTH.
Jan F. Chadima adad2a
 
Jan F. Chadima adad2a
      TCPKeepAlive
Jan F. Chadima adad2a
              Specifies whether the system should send TCP keepalive messages
Jan F. Chadima adad2a
diff -up openssh-5.2p1/sshd_config.5.redhat openssh-5.2p1/sshd_config.5
Jan F. Chadima adad2a
--- openssh-5.2p1/sshd_config.5.redhat	2008-07-02 14:35:43.000000000 +0200
Jan F. Chadima adad2a
+++ openssh-5.2p1/sshd_config.5	2008-07-23 14:07:29.000000000 +0200
Jan F. Chadima adad2a
@@ -846,7 +846,7 @@ Note that this option applies to protoco
Jan F. Chadima adad2a
 .It Cm SyslogFacility
Jan F. Chadima adad2a
 Gives the facility code that is used when logging messages from
Jan F. Chadima adad2a
 .Xr sshd 8 .
Jan F. Chadima adad2a
-The possible values are: DAEMON, USER, AUTH, LOCAL0, LOCAL1, LOCAL2,
Jan F. Chadima adad2a
+The possible values are: DAEMON, USER, AUTH, AUTHPRIV, LOCAL0, LOCAL1, LOCAL2,
Jan F. Chadima adad2a
 LOCAL3, LOCAL4, LOCAL5, LOCAL6, LOCAL7.
Jan F. Chadima adad2a
 The default is AUTH.
Jan F. Chadima adad2a
 .It Cm TCPKeepAlive