Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. =================================================================== RCS file: /ftp/cvs/cvsroot/src/crypto/dist/ssh/Attic/sshd_config,v retrieving revision 1.21.2.1 retrieving revision 1.28 diff -u -p -r1.21.2.1 -r1.28 --- src/crypto/dist/ssh/Attic/sshd_config 2006/10/16 22:02:32 1.21.2.1 +++ src/crypto/dist/ssh/Attic/sshd_config 2007/12/21 01:03:58 1.28 @@ -1,5 +1,5 @@ -# $NetBSD: sshd_config,v 1.21.2.1 2006/10/16 22:02:32 ghen Exp $ -# $OpenBSD: sshd_config,v 1.69 2004/05/23 23:59:53 dtucker Exp $ +# $NetBSD: sshd_config,v 1.28 2007/12/21 01:03:58 tnn Exp $ +# $OpenBSD: sshd_config,v 1.75 2007/03/19 01:01:29 djm Exp $ # This is the sshd server system-wide configuration file. See # sshd_config(5) for more information. @@ -11,9 +11,15 @@ #Port 22 Protocol 2 +#AddressFamily any #ListenAddress 0.0.0.0 #ListenAddress :: +# Disable legacy (protocol version 1) support in the server for new +# installations. In future the default will change to require explicit +# activation of protocol 1 +Protocol 2 + # HostKey for protocol version 1 #HostKey /etc/ssh/ssh_host_key # HostKeys for protocol version 2 @@ -25,7 +31,7 @@ Protocol 2 #ServerKeyBits 768 # Logging -#obsoletes QuietMode and FascistLogging +# obsoletes QuietMode and FascistLogging #SyslogFacility AUTH #LogLevel INFO @@ -71,6 +77,8 @@ LoginGraceTime 600 #AllowTcpForwarding yes #GatewayPorts no #X11Forwarding no +# If you use xorg from pkgsrc then uncomment the following line. +#XAuthLocation /usr/pkg/bin/xauth #X11DisplayOffset 10 #X11UseLocalhost yes #PrintMotd yes @@ -80,15 +88,22 @@ LoginGraceTime 600 #UsePrivilegeSeparation yes UsePam yes #PermitUserEnvironment no -#Compression yes +#Compression delayed #ClientAliveInterval 0 #ClientAliveCountMax 3 #UseDNS yes #PidFile /var/run/sshd.pid #MaxStartups 10 +#PermitTunnel no # no default banner path #Banner /some/path # override default of no subsystems Subsystem sftp /usr/libexec/sftp-server + +# Example of overriding settings on a per-user basis +#Match User anoncvs +# X11Forwarding no +# AllowTcpForwarding no +# ForceCommand cvs server