vishalmishra434 / rpms / openssh

Forked from rpms/openssh a month ago
Clone
Jan F. Chadima 69dd72
diff -up openssh-5.9p0/ssh_config.redhat openssh-5.9p0/ssh_config
Jan F. Chadima 69dd72
--- openssh-5.9p0/ssh_config.redhat	2010-01-12 09:40:27.000000000 +0100
Jan F. Chadima 69dd72
+++ openssh-5.9p0/ssh_config	2011-09-05 14:48:16.386439023 +0200
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
Jan F. Chadima 69dd72
diff -up openssh-5.9p0/sshd_config.0.redhat openssh-5.9p0/sshd_config.0
Jan F. Chadima 69dd72
--- openssh-5.9p0/sshd_config.0.redhat	2011-09-05 14:48:08.522441255 +0200
Jan F. Chadima 69dd72
+++ openssh-5.9p0/sshd_config.0	2011-09-05 14:48:16.477443868 +0200
Jan F. Chadima 69dd72
@@ -581,9 +581,9 @@ DESCRIPTION
Jan F. Chadima 69dd72
 
Jan F. Chadima 69dd72
      SyslogFacility
Jan F. Chadima 69dd72
              Gives the facility code that is used when logging messages from
Jan F. Chadima 69dd72
-             sshd(8).  The possible values are: DAEMON, USER, AUTH, LOCAL0,
Jan F. Chadima 69dd72
-             LOCAL1, LOCAL2, LOCAL3, LOCAL4, LOCAL5, LOCAL6, LOCAL7.  The
Jan F. Chadima 69dd72
-             default is AUTH.
Jan F. Chadima 69dd72
+             sshd(8).  The possible values are: DAEMON, USER, AUTH, AUTHPRIV,
Jan F. Chadima 69dd72
+             LOCAL0, LOCAL1, LOCAL2, LOCAL3, LOCAL4, LOCAL5, LOCAL6, LOCAL7.
Jan F. Chadima 69dd72
+             The default is AUTH.
Jan F. Chadima 69dd72
 
Jan F. Chadima 69dd72
      TCPKeepAlive
Jan F. Chadima 69dd72
              Specifies whether the system should send TCP keepalive messages
Jan F. Chadima 69dd72
diff -up openssh-5.9p0/sshd_config.5.redhat openssh-5.9p0/sshd_config.5
Jan F. Chadima 69dd72
--- openssh-5.9p0/sshd_config.5.redhat	2011-09-05 14:48:08.657564688 +0200
Jan F. Chadima 69dd72
+++ openssh-5.9p0/sshd_config.5	2011-09-05 14:48:16.589501736 +0200
Jan F. Chadima 69dd72
@@ -1029,7 +1029,7 @@ Note that this option applies to protoco
Jan F. Chadima 69dd72
 .It Cm SyslogFacility
Jan F. Chadima 69dd72
 Gives the facility code that is used when logging messages from
Jan F. Chadima 69dd72
 .Xr sshd 8 .
Jan F. Chadima 69dd72
-The possible values are: DAEMON, USER, AUTH, LOCAL0, LOCAL1, LOCAL2,
Jan F. Chadima 69dd72
+The possible values are: DAEMON, USER, AUTH, AUTHPRIV, LOCAL0, LOCAL1, LOCAL2,
Jan F. Chadima 69dd72
 LOCAL3, LOCAL4, LOCAL5, LOCAL6, LOCAL7.
Jan F. Chadima 69dd72
 The default is AUTH.
Jan F. Chadima 69dd72
 .It Cm TCPKeepAlive
Jan F. Chadima 69dd72
diff -up openssh-5.9p0/sshd_config.redhat openssh-5.9p0/sshd_config
Jan F. Chadima 69dd72
--- openssh-5.9p0/sshd_config.redhat	2011-09-05 14:48:16.250626793 +0200
Jan F. Chadima 69dd72
+++ openssh-5.9p0/sshd_config	2011-09-05 15:06:01.513443553 +0200
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 
Jan F. Chadima 69dd72
@@ -89,6 +94,7 @@ 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
 
Jan F. Chadima 69dd72
 #TwoFactorAuthentication no
Jan F. Chadima 69dd72
 #SecondPubkeyAuthentication yes
Jan F. Chadima 69dd72
@@ -101,6 +107,7 @@ AuthorizedKeysFile	.ssh/authorized_keys
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
Jan F. Chadima 69dd72
@@ -121,6 +128,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