]> andersk Git - gssapi-openssh.git/blame - openssh/sshd_config
Protocol 2 only by default
[gssapi-openssh.git] / openssh / sshd_config
CommitLineData
e00da40d 1# $OpenBSD: sshd_config,v 1.73 2005/12/06 22:38:28 reyk Exp $
3c0ef626 2
ff2d7a98 3# This is the sshd server system-wide configuration file. See
4# sshd_config(5) for more information.
3c0ef626 5
e9a17296 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
c46286a4 14Protocol 2
34fee935 15#AddressFamily any
3c0ef626 16#ListenAddress 0.0.0.0
17#ListenAddress ::
18
19# HostKey for protocol version 1
e9a17296 20#HostKey /etc/ssh/ssh_host_key
3c0ef626 21# HostKeys for protocol version 2
e9a17296 22#HostKey /etc/ssh/ssh_host_rsa_key
23#HostKey /etc/ssh/ssh_host_dsa_key
3c0ef626 24
25# Lifetime and size of ephemeral version 1 server key
70791e56 26#KeyRegenerationInterval 1h
e9a17296 27#ServerKeyBits 768
3c0ef626 28
29# Logging
34fee935 30# obsoletes QuietMode and FascistLogging
e9a17296 31#SyslogFacility AUTH
32#LogLevel INFO
3c0ef626 33
34# Authentication:
35
70791e56 36#LoginGraceTime 2m
e9a17296 37#PermitRootLogin yes
38#StrictModes yes
1b56ff3d 39#MaxAuthTries 6
3c0ef626 40
e9a17296 41#RSAAuthentication yes
42#PubkeyAuthentication yes
43#AuthorizedKeysFile .ssh/authorized_keys
3c0ef626 44
e9a17296 45# For this to work you will also need host keys in /etc/ssh/ssh_known_hosts
46#RhostsRSAAuthentication no
3c0ef626 47# similar for protocol version 2
e9a17296 48#HostbasedAuthentication no
49# Change to yes if you don't trust ~/.ssh/known_hosts for
50# RhostsRSAAuthentication and HostbasedAuthentication
51#IgnoreUserKnownHosts no
70791e56 52# Don't read the user's ~/.rhosts and ~/.shosts files
53#IgnoreRhosts yes
3c0ef626 54
55# To disable tunneled clear text passwords, change to no here!
e9a17296 56#PasswordAuthentication yes
57#PermitEmptyPasswords no
3c0ef626 58
e9a17296 59# Change to no to disable s/key passwords
60#ChallengeResponseAuthentication yes
3c0ef626 61
e9a17296 62# Kerberos options
2980ea68 63#KerberosAuthentication no
3c0ef626 64#KerberosOrLocalPasswd yes
e9a17296 65#KerberosTicketCleanup yes
416fd2a8 66#KerberosGetAFSToken no
e9a17296 67
88928908 68# Session hooks: if allowed, specify the commands to execute
69#AllowSessionHooks yes
70#SessionHookStartupCmd /bin/true
71#SessionHookShutdownCmd /bin/true
72
70791e56 73# GSSAPI options
74#GSSAPIAuthentication yes
416fd2a8 75#GSSAPICleanupCredentials yes
70791e56 76
1b56ff3d 77# Set this to 'yes' to enable PAM authentication, account processing,
78# and session processing. If this is enabled, PAM authentication will
79# be allowed through the ChallengeResponseAuthentication mechanism.
80# Depending on your PAM configuration, this may bypass the setting of
81# PasswordAuthentication, PermitEmptyPasswords, and
82# "PermitRootLogin without-password". If you just want the PAM account and
83# session checks to run without PAM authentication, then enable this but set
84# ChallengeResponseAuthentication=no
3a7e642d 85UsePAM yes
3c0ef626 86
70791e56 87#AllowTcpForwarding yes
88#GatewayPorts no
534cf574 89X11Forwarding yes
e9a17296 90#X11DisplayOffset 10
91#X11UseLocalhost yes
92#PrintMotd yes
93#PrintLastLog yes
416fd2a8 94#TCPKeepAlive yes
3c0ef626 95#UseLogin no
ff2d7a98 96#UsePrivilegeSeparation yes
e54b3d7c 97#PermitUserEnvironment no
34fee935 98#Compression delayed
70791e56 99#ClientAliveInterval 0
100#ClientAliveCountMax 3
101#UseDNS yes
102#PidFile /var/run/sshd.pid
e9a17296 103#MaxStartups 10
e00da40d 104#PermitTunnel no
105
106# override default of no subsystems
107Subsystem sftp /usr/libexec/sftp-server
70791e56 108
e9a17296 109# no default banner path
110#Banner /some/path
3c0ef626 111
e00da40d 112# the following are HPN related configuration options
113# tcp receive buffer polling. enable in autotuning kernels
114#TcpRcvBufPoll no
115
116# allow the use of the none cipher
117#NoneEnabled no
118
119# disable hpn performance boosts.
120#HPNDisabled no
121
122# buffer size for hpn to non-hn connections
123#HPNBufferSize 2048
124
This page took 0.080504 seconds and 5 git commands to generate.