version 1.1.1.14, 2006/02/04 22:23:24 |
version 1.27, 2007/12/18 02:35:33 |
|
|
# $NetBSD$ |
# $NetBSD$ |
# $OpenBSD: sshd_config,v 1.73 2005/12/06 22:38:28 reyk 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 |
# This is the sshd server system-wide configuration file. See |
# sshd_config(5) for more information. |
# sshd_config(5) for more information. |
|
|
# default value. |
# default value. |
|
|
#Port 22 |
#Port 22 |
#Protocol 2,1 |
Protocol 2 |
#AddressFamily any |
#AddressFamily any |
#ListenAddress 0.0.0.0 |
#ListenAddress 0.0.0.0 |
#ListenAddress :: |
#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 for protocol version 1 |
#HostKey /etc/ssh/ssh_host_key |
#HostKey /etc/ssh/ssh_host_key |
# HostKeys for protocol version 2 |
# HostKeys for protocol version 2 |
|
|
|
|
# Authentication: |
# Authentication: |
|
|
#LoginGraceTime 2m |
# Slow machines or long keys may require more processing time. |
#PermitRootLogin yes |
LoginGraceTime 600 |
|
#PermitRootLogin no |
#StrictModes yes |
#StrictModes yes |
#MaxAuthTries 6 |
#MaxAuthTries 6 |
|
|
|
|
#AllowTcpForwarding yes |
#AllowTcpForwarding yes |
#GatewayPorts no |
#GatewayPorts no |
#X11Forwarding no |
#X11Forwarding no |
|
# If you xorg from pkgsrc then uncomment the following line. |
|
#XAuthLocation /usr/pkg/bin/xauth |
#X11DisplayOffset 10 |
#X11DisplayOffset 10 |
#X11UseLocalhost yes |
#X11UseLocalhost yes |
#PrintMotd yes |
#PrintMotd yes |
|
|
#TCPKeepAlive yes |
#TCPKeepAlive yes |
#UseLogin no |
#UseLogin no |
#UsePrivilegeSeparation yes |
#UsePrivilegeSeparation yes |
|
UsePam yes |
#PermitUserEnvironment no |
#PermitUserEnvironment no |
#Compression delayed |
#Compression delayed |
#ClientAliveInterval 0 |
#ClientAliveInterval 0 |
|
|
|
|
# override default of no subsystems |
# override default of no subsystems |
Subsystem sftp /usr/libexec/sftp-server |
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 |