]> andersk Git - gssapi-openssh.git/blame - setup/sshd_config
o Update config files from openssh 3.1p1.
[gssapi-openssh.git] / setup / sshd_config
CommitLineData
bcc34b85 1# $OpenBSD: sshd_config,v 1.48 2002/02/19 02:50:59 deraadt Exp $
2d0c8d0c 2
3# This is the sshd server system-wide configuration file. See sshd(8)
4# for more information.
5
bcc34b85 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
2d0c8d0c 14#Protocol 2,1
15#ListenAddress 0.0.0.0
16#ListenAddress ::
17
18# HostKey for protocol version 1
bcc34b85 19#HostKey /etc/ssh/ssh_host_key
2d0c8d0c 20# HostKeys for protocol version 2
bcc34b85 21#HostKey /etc/ssh/ssh_host_rsa_key
22#HostKey /etc/ssh/ssh_host_dsa_key
2d0c8d0c 23
24# Lifetime and size of ephemeral version 1 server key
bcc34b85 25#KeyRegenerationInterval 3600
26#ServerKeyBits 768
2d0c8d0c 27
28# Logging
2d0c8d0c 29#obsoletes QuietMode and FascistLogging
bcc34b85 30#SyslogFacility AUTH
31#LogLevel INFO
2d0c8d0c 32
33# Authentication:
34
bcc34b85 35#LoginGraceTime 600
36#PermitRootLogin yes
37#StrictModes yes
2d0c8d0c 38
bcc34b85 39#RSAAuthentication yes
40#PubkeyAuthentication yes
41#AuthorizedKeysFile .ssh/authorized_keys
2d0c8d0c 42
43# rhosts authentication should not be used
bcc34b85 44#RhostsAuthentication no
2d0c8d0c 45# Don't read the user's ~/.rhosts and ~/.shosts files
bcc34b85 46#IgnoreRhosts yes
47# For this to work you will also need host keys in /etc/ssh/ssh_known_hosts
48#RhostsRSAAuthentication no
2d0c8d0c 49# similar for protocol version 2
bcc34b85 50#HostbasedAuthentication no
51# Change to yes if you don't trust ~/.ssh/known_hosts for
52# RhostsRSAAuthentication and HostbasedAuthentication
53#IgnoreUserKnownHosts no
2d0c8d0c 54
55# To disable tunneled clear text passwords, change to no here!
bcc34b85 56#PasswordAuthentication yes
57#PermitEmptyPasswords no
2d0c8d0c 58
bcc34b85 59# Change to no to disable s/key passwords
60#ChallengeResponseAuthentication yes
2d0c8d0c 61
bcc34b85 62# Kerberos options
63# KerberosAuthentication automatically enabled if keyfile exists
64#KerberosAuthentication yes
2d0c8d0c 65#KerberosOrLocalPasswd yes
bcc34b85 66#KerberosTicketCleanup yes
67
68# AFSTokenPassing automatically enabled if k_hasafs() is true
69#AFSTokenPassing yes
2d0c8d0c 70
bcc34b85 71# Kerberos TGT Passing only works with the AFS kaserver
72#KerberosTgtPassing no
73
74# Set this to 'yes' to enable PAM keyboard-interactive authentication
75# Warning: enabling this may bypass the setting of 'PasswordAuthentication'
76#PAMAuthenticationViaKbdInt yes
2d0c8d0c 77
bcc34b85 78#X11Forwarding no
79#X11DisplayOffset 10
80#X11UseLocalhost yes
81#PrintMotd yes
82#PrintLastLog yes
83#KeepAlive yes
2d0c8d0c 84#UseLogin no
85
bcc34b85 86#MaxStartups 10
87# no default banner path
88#Banner /some/path
89#VerifyReverseMapping no
2d0c8d0c 90
bcc34b85 91# override default of no subsystems
2d0c8d0c 92Subsystem sftp /usr/libexec/sftp-server
This page took 0.05531 seconds and 5 git commands to generate.