X-Git-Url: https://git.pld-linux.org/?a=blobdiff_plain;f=openssh-config.patch;h=e124f108bca35c92b4268fa6f6f4c11b5abaf705;hb=e61faf4af3cc4d7295ce9f3ef180d30f5984d300;hp=911a8d631fe84f8db998994db4c12b910aa96026;hpb=2f55b62dd445d59b6e2be515cdaf09eb43d840f9;p=packages%2Fopenssh.git diff --git a/openssh-config.patch b/openssh-config.patch index 911a8d6..e124f10 100644 --- a/openssh-config.patch +++ b/openssh-config.patch @@ -1,13 +1,5 @@ --- openssh-4.6p1/sshd_config~ 2007-10-13 01:37:17.000000000 +0200 +++ openssh-4.6p1/sshd_config 2007-10-13 01:47:12.000000000 +0200 -@@ -11,6 +11,7 @@ - # default value. - - #Port 22 -+Protocol 2 - #Protocol 2,1 - #AddressFamily any - #ListenAddress 0.0.0.0 @@ -34,6 +35,7 @@ #LoginGraceTime 2m @@ -39,17 +31,15 @@ # Set this to 'yes' to enable PAM authentication, account processing, # and session processing. If this is enabled, PAM authentication will -@@ -78,8 +79,16 @@ +@@ -89,10 +89,12 @@ + # If you just want the PAM account and session checks to run without # PAM authentication, then enable this but set PasswordAuthentication # and ChallengeResponseAuthentication to 'no'. - #UsePAM no +-#UsePAM no +UsePAM yes -+ -+# Set this to 'yes' to enable support for chrooted user environment. -+# You must create such environment before you can use this feature. -+#UseChroot yes - #AllowTcpForwarding yes + #AllowAgentForwarding yes +-#AllowTcpForwarding yes +# Security advisory: +# http://securitytracker.com/alerts/2004/Sep/1011143.html +AllowTcpForwarding no @@ -60,8 +50,8 @@ # no default banner path #Banner /some/path -+# Accept locale-related environment variables -+AcceptEnv LANG LC_* ++# Accept locale-related environment variables, also accept GIT vars ++AcceptEnv LANG LC_* LANGUAGE TZ GIT_* + # override default of no subsystems Subsystem sftp /usr/libexec/sftp-server @@ -85,9 +75,9 @@ # CheckHostIP yes # AddressFamily any @@ -42,3 +45,19 @@ - # Tunnel no - # TunnelDevice any:any # PermitLocalCommand no + # VisualHostKey no + # ProxyCommand ssh -q -W %h:%p gateway.example.com + +Host * + GSSAPIAuthentication yes @@ -102,5 +92,6 @@ + ServerAliveInterval 60 + ServerAliveCountMax 10 + TCPKeepAlive no -+# Send locale-related environment variables -+ SendEnv LANG LC_* ++# Send locale-related environment variables, also pass GIT vars ++ SendEnv LANG LC_* LANGUAGE TZ GIT_* ++ HashKnownHosts yes