vishalmishra434 / rpms / openssh

Forked from rpms/openssh a month ago
Clone
Petr Lautrbach d9e618
diff -up openssh-5.9p1/ssh_config.redhat openssh-5.9p1/ssh_config
Petr Lautrbach d9e618
--- openssh-5.9p1/ssh_config.redhat	2010-01-12 09:40:27.000000000 +0100
Petr Lautrbach d9e618
+++ openssh-5.9p1/ssh_config	2012-02-06 17:32:43.428032471 +0100
Jan F. Chadima 69dd72
@@ -45,3 +45,14 @@
Jan F. Chadima 69dd72
 #   PermitLocalCommand no
Jan F. Chadima 69dd72
 #   VisualHostKey no
Jan F. Chadima 69dd72
 #   ProxyCommand ssh -q -W %h:%p gateway.example.com
Jan F. Chadima 69dd72
+Host *
Jan F. Chadima 69dd72
+	GSSAPIAuthentication yes
Jan F. Chadima 69dd72
+# If this option is set to yes then remote X11 clients will have full access
Jan F. Chadima 69dd72
+# to the original X11 display. As virtually no X11 client supports the untrusted
Jan F. Chadima 69dd72
+# mode correctly we set this to yes.
Jan F. Chadima 69dd72
+	ForwardX11Trusted yes
Jan F. Chadima 69dd72
+# Send locale-related environment variables
Jan F. Chadima 69dd72
+	SendEnv LANG LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES 
Jan F. Chadima 69dd72
+	SendEnv LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT 
Jan F. Chadima 69dd72
+	SendEnv LC_IDENTIFICATION LC_ALL LANGUAGE
Jan F. Chadima 69dd72
+	SendEnv XMODIFIERS
Petr Lautrbach d9e618
diff -up openssh-5.9p1/sshd_config.redhat openssh-5.9p1/sshd_config
Petr Lautrbach d9e618
--- openssh-5.9p1/sshd_config.redhat	2012-02-06 17:32:43.427032448 +0100
Petr Lautrbach d9e618
+++ openssh-5.9p1/sshd_config	2012-02-06 17:35:15.356783832 +0100
Jan F. Chadima 69dd72
@@ -32,6 +32,7 @@
Jan F. Chadima 69dd72
 # Logging
Jan F. Chadima 69dd72
 # obsoletes QuietMode and FascistLogging
Jan F. Chadima 69dd72
 #SyslogFacility AUTH
Jan F. Chadima 69dd72
+SyslogFacility AUTHPRIV
Jan F. Chadima 69dd72
 #LogLevel INFO
Jan F. Chadima 69dd72
 
Jan F. Chadima 69dd72
 # Authentication:
Jan F. Chadima 69dd72
@@ -65,9 +66,11 @@ AuthorizedKeysFile	.ssh/authorized_keys
Jan F. Chadima 69dd72
 # To disable tunneled clear text passwords, change to no here!
Jan F. Chadima 69dd72
 #PasswordAuthentication yes
Jan F. Chadima 69dd72
 #PermitEmptyPasswords no
Jan F. Chadima 69dd72
+PasswordAuthentication yes
Jan F. Chadima 69dd72
 
Jan F. Chadima 69dd72
 # Change to no to disable s/key passwords
Jan F. Chadima 69dd72
 #ChallengeResponseAuthentication yes
Jan F. Chadima 69dd72
+ChallengeResponseAuthentication no
Jan F. Chadima 69dd72
 
Jan F. Chadima 69dd72
 # Kerberos options
Jan F. Chadima 69dd72
 #KerberosAuthentication no
Jan F. Chadima 69dd72
@@ -77,7 +80,9 @@ AuthorizedKeysFile	.ssh/authorized_keys
Jan F. Chadima 69dd72
 
Jan F. Chadima 69dd72
 # GSSAPI options
Jan F. Chadima 69dd72
 #GSSAPIAuthentication no
Jan F. Chadima 69dd72
+GSSAPIAuthentication yes
Jan F. Chadima 69dd72
 #GSSAPICleanupCredentials yes
Jan F. Chadima 69dd72
+GSSAPICleanupCredentials yes
Jan F. Chadima 69dd72
 
Jan F. Chadima 69dd72
 # Set this to 'yes' to enable PAM authentication, account processing, 
Jan F. Chadima 69dd72
 # and session processing. If this is enabled, PAM authentication will 
Petr Lautrbach d9e618
@@ -89,11 +94,13 @@ AuthorizedKeysFile	.ssh/authorized_keys
Jan F. Chadima 69dd72
 # PAM authentication, then enable this but set PasswordAuthentication
Jan F. Chadima 69dd72
 # and ChallengeResponseAuthentication to 'no'.
Jan F. Chadima 69dd72
 #UsePAM no
Jan F. Chadima 69dd72
+UsePAM yes
Jan F. Chadima 69dd72
 
Petr Lautrbach d9e618
 #AllowAgentForwarding yes
Jan F. Chadima 69dd72
 #AllowTcpForwarding yes
Jan F. Chadima 69dd72
 #GatewayPorts no
Jan F. Chadima 69dd72
 #X11Forwarding no
Jan F. Chadima 69dd72
+X11Forwarding yes
Jan F. Chadima 69dd72
 #X11DisplayOffset 10
Jan F. Chadima 69dd72
 #X11UseLocalhost yes
Jan F. Chadima 69dd72
 #PrintMotd yes
Petr Lautrbach d9e618
@@ -114,6 +121,12 @@ AuthorizedKeysFile	.ssh/authorized_keys
Jan F. Chadima 69dd72
 # no default banner path
Jan F. Chadima 69dd72
 #Banner none
Jan F. Chadima 69dd72
 
Jan F. Chadima 69dd72
+# Accept locale-related environment variables
Jan F. Chadima 69dd72
+AcceptEnv LANG LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES
Jan F. Chadima 69dd72
+AcceptEnv LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT
Jan F. Chadima 69dd72
+AcceptEnv LC_IDENTIFICATION LC_ALL LANGUAGE
Jan F. Chadima 69dd72
+AcceptEnv XMODIFIERS
Jan F. Chadima 69dd72
+
Jan F. Chadima 69dd72
 # override default of no subsystems
Jan F. Chadima 69dd72
 Subsystem	sftp	/usr/libexec/sftp-server
Jan F. Chadima 69dd72
 
Petr Lautrbach d9e618
diff -up openssh-5.9p1/sshd_config.0.redhat openssh-5.9p1/sshd_config.0
Petr Lautrbach d9e618
--- openssh-5.9p1/sshd_config.0.redhat	2012-02-06 17:32:43.302970171 +0100
Petr Lautrbach d9e618
+++ openssh-5.9p1/sshd_config.0	2012-02-06 17:32:43.428032471 +0100
Petr Lautrbach d9e618
@@ -581,9 +581,9 @@ DESCRIPTION
Petr Lautrbach d9e618
 
Petr Lautrbach d9e618
      SyslogFacility
Petr Lautrbach d9e618
              Gives the facility code that is used when logging messages from
Petr Lautrbach d9e618
-             sshd(8).  The possible values are: DAEMON, USER, AUTH, LOCAL0,
Petr Lautrbach d9e618
-             LOCAL1, LOCAL2, LOCAL3, LOCAL4, LOCAL5, LOCAL6, LOCAL7.  The
Petr Lautrbach d9e618
-             default is AUTH.
Petr Lautrbach d9e618
+             sshd(8).  The possible values are: DAEMON, USER, AUTH, AUTHPRIV,
Petr Lautrbach d9e618
+             LOCAL0, LOCAL1, LOCAL2, LOCAL3, LOCAL4, LOCAL5, LOCAL6, LOCAL7.
Petr Lautrbach d9e618
+             The default is AUTH.
Petr Lautrbach d9e618
 
Petr Lautrbach d9e618
      TCPKeepAlive
Petr Lautrbach d9e618
              Specifies whether the system should send TCP keepalive messages
Petr Lautrbach d9e618
diff -up openssh-5.9p1/sshd_config.5.redhat openssh-5.9p1/sshd_config.5
Petr Lautrbach d9e618
--- openssh-5.9p1/sshd_config.5.redhat	2012-02-06 17:32:43.303971959 +0100
Petr Lautrbach d9e618
+++ openssh-5.9p1/sshd_config.5	2012-02-06 17:32:43.429032398 +0100
Petr Lautrbach d9e618
@@ -1019,7 +1019,7 @@ Note that this option applies to protoco
Petr Lautrbach d9e618
 .It Cm SyslogFacility
Petr Lautrbach d9e618
 Gives the facility code that is used when logging messages from
Petr Lautrbach d9e618
 .Xr sshd 8 .
Petr Lautrbach d9e618
-The possible values are: DAEMON, USER, AUTH, LOCAL0, LOCAL1, LOCAL2,
Petr Lautrbach d9e618
+The possible values are: DAEMON, USER, AUTH, AUTHPRIV, LOCAL0, LOCAL1, LOCAL2,
Petr Lautrbach d9e618
 LOCAL3, LOCAL4, LOCAL5, LOCAL6, LOCAL7.
Petr Lautrbach d9e618
 The default is AUTH.
Petr Lautrbach d9e618
 .It Cm TCPKeepAlive