]> andersk Git - gssapi-openssh.git/blame - setup/sshd_config.in
4.0 release
[gssapi-openssh.git] / setup / sshd_config.in
CommitLineData
20ba2feb 1# $OpenBSD: sshd_config,v 1.74 2006/07/19 13:07:10 dtucker Exp $
5b105785 2
120de672 3# This is the sshd server system-wide configuration file. See
4# sshd_config(5) for more information.
5b105785 5
6# This sshd was compiled with PATH=/usr/bin:/bin:/usr/sbin:/sbin
7
8# The strategy used for options in the default sshd_config shipped with
9# OpenSSH is to specify options with their default value where
10# possible, but leave them commented. Uncommented options change a
11# default value.
12
13#Port 22
adcd3db8 14Protocol 2
351aa434 15#AddressFamily any
5b105785 16#ListenAddress 0.0.0.0
17#ListenAddress ::
18
19# HostKey for protocol version 1
20#HostKey /etc/ssh/ssh_host_key
21# HostKeys for protocol version 2
22#HostKey /etc/ssh/ssh_host_rsa_key
23#HostKey /etc/ssh/ssh_host_dsa_key
24
25# Lifetime and size of ephemeral version 1 server key
da07627e 26#KeyRegenerationInterval 1h
5b105785 27#ServerKeyBits 768
28
29# Logging
351aa434 30# obsoletes QuietMode and FascistLogging
5b105785 31#SyslogFacility AUTH
32#LogLevel INFO
33
34# Authentication:
35
da07627e 36#LoginGraceTime 2m
5b105785 37#PermitRootLogin yes
38#StrictModes yes
8acc5688 39#MaxAuthTries 6
5b105785 40
41#RSAAuthentication yes
42#PubkeyAuthentication yes
43#AuthorizedKeysFile .ssh/authorized_keys
44
5b105785 45# For this to work you will also need host keys in /etc/ssh/ssh_known_hosts
46#RhostsRSAAuthentication no
47# similar for protocol version 2
48#HostbasedAuthentication no
49# Change to yes if you don't trust ~/.ssh/known_hosts for
50# RhostsRSAAuthentication and HostbasedAuthentication
51#IgnoreUserKnownHosts no
da07627e 52# Don't read the user's ~/.rhosts and ~/.shosts files
53#IgnoreRhosts yes
5b105785 54
55# To disable tunneled clear text passwords, change to no here!
56#PasswordAuthentication yes
57#PermitEmptyPasswords no
58
59# Change to no to disable s/key passwords
60#ChallengeResponseAuthentication yes
61
62# Kerberos options
63#KerberosAuthentication no
64#KerberosOrLocalPasswd yes
65#KerberosTicketCleanup yes
ec629a6d 66#KerberosGetAFSToken no
5b105785 67
140715a2 68# Session hooks: if allowed, specify the commands to execute
69#AllowSessionHooks yes
70#SessionHookStartupCmd /bin/true
71#SessionHookShutdownCmd /bin/true
72
da07627e 73# GSSAPI options
74#GSSAPIAuthentication yes
ec629a6d 75#GSSAPICleanupCredentials yes
20ba2feb 76#GSSAPIStrictAcceptorCheck yes
77#GSSAPIKeyExchange yes
da07627e 78
8acc5688 79# Set this to 'yes' to enable PAM authentication, account processing,
80# and session processing. If this is enabled, PAM authentication will
20ba2feb 81# be allowed through the ChallengeResponseAuthentication and
82# PasswordAuthentication. Depending on your PAM configuration,
83# PAM authentication via ChallengeResponseAuthentication may bypass
84# the setting of "PermitRootLogin without-password".
85# If you just want the PAM account and session checks to run without
86# PAM authentication, then enable this but set PasswordAuthentication
87# and ChallengeResponseAuthentication to 'no'.
88#UsePAM yes
5b105785 89
da07627e 90#AllowTcpForwarding yes
91#GatewayPorts no
0f988400 92X11Forwarding yes
5b105785 93#X11DisplayOffset 10
94#X11UseLocalhost yes
95#PrintMotd yes
96#PrintLastLog yes
ec629a6d 97#TCPKeepAlive yes
5b105785 98#UseLogin no
120de672 99#UsePrivilegeSeparation yes
e8800bf1 100#PermitUserEnvironment no
351aa434 101#Compression delayed
da07627e 102#ClientAliveInterval 0
103#ClientAliveCountMax 3
104#UseDNS yes
105#PidFile /var/run/sshd.pid
5b105785 106#MaxStartups 10
bac30dae 107#PermitTunnel no
108
5b105785 109# no default banner path
110#Banner /some/path
5b105785 111
20ba2feb 112# override default of no subsystems
113Subsystem sftp /usr/libexec/sftp-server
114
bac30dae 115# the following are HPN related configuration options
116# tcp receive buffer polling. enable in autotuning kernels
117#TcpRcvBufPoll no
20ba2feb 118
bac30dae 119# allow the use of the none cipher
120#NoneEnabled no
121
122# disable hpn performance boosts.
123#HPNDisabled no
124
125# buffer size for hpn to non-hn connections
126#HPNBufferSize 2048
127
20ba2feb 128
129# Example of overriding settings on a per-user basis
130#Match User anoncvs
131# X11Forwarding no
132# AllowTcpForwarding no
133# ForceCommand cvs server
This page took 0.081356 seconds and 5 git commands to generate.