Sophie

Sophie

distrib > Mandriva > 2007.0 > i586 > by-pkgid > e7281a1e3764e8b84bd5e00121f0e9a9 > files > 7

openssh-4.5p1-0.3mdv2007.0.src.rpm

diff -Naur openssh-4.3p2/ssh_config openssh-4.3p2.oden/ssh_config
--- openssh-4.3p2/ssh_config	2005-12-13 09:29:03.000000000 +0100
+++ openssh-4.3p2.oden/ssh_config	2006-06-07 13:17:32.000000000 +0200
@@ -40,3 +40,8 @@
 #   Tunnel no
 #   TunnelDevice any:any
 #   PermitLocalCommand no
+
+Host *
+    ForwardX11 yes
+    ForwardX11Trusted yes
+    Protocol 2,1
diff -Naur openssh-4.3p2/sshd_config openssh-4.3p2.oden/sshd_config
--- openssh-4.3p2/sshd_config	2005-12-13 09:29:03.000000000 +0100
+++ openssh-4.3p2.oden/sshd_config	2006-06-07 13:18:20.000000000 +0200
@@ -3,7 +3,7 @@
 # This is the sshd server system-wide configuration file.  See
 # sshd_config(5) for more information.
 
-# This sshd was compiled with PATH=/usr/bin:/bin:/usr/sbin:/sbin
+# This sshd was compiled with PATH=_OPENSSH_PATH_
 
 # The strategy used for options in the default sshd_config shipped with
 # OpenSSH is to specify options with their default value where
@@ -12,15 +12,16 @@
 
 #Port 22
 #Protocol 2,1
+Protocol 2
 #AddressFamily any
 #ListenAddress 0.0.0.0
 #ListenAddress ::
 
 # HostKey for protocol version 1
-#HostKey /etc/ssh/ssh_host_key
+HostKey /etc/ssh/ssh_host_key
 # HostKeys for protocol version 2
-#HostKey /etc/ssh/ssh_host_rsa_key
-#HostKey /etc/ssh/ssh_host_dsa_key
+HostKey /etc/ssh/ssh_host_rsa_key
+HostKey /etc/ssh/ssh_host_dsa_key
 
 # Lifetime and size of ephemeral version 1 server key
 #KeyRegenerationInterval 1h
@@ -34,7 +35,7 @@
 # Authentication:
 
 #LoginGraceTime 2m
-#PermitRootLogin yes
+PermitRootLogin no
 #StrictModes yes
 #MaxAuthTries 6
 
@@ -81,14 +82,14 @@
 
 #AllowTcpForwarding yes
 #GatewayPorts no
-#X11Forwarding no
+X11Forwarding yes
 #X11DisplayOffset 10
 #X11UseLocalhost yes
 #PrintMotd yes
 #PrintLastLog yes
 #TCPKeepAlive yes
 #UseLogin no
-#UsePrivilegeSeparation yes
+UsePrivilegeSeparation yes
 #PermitUserEnvironment no
 #Compression delayed
 #ClientAliveInterval 0