]> andersk Git - openssh.git/blame - sshd_config
- markus@cvs.openbsd.org 2002/02/18 17:55:20
[openssh.git] / sshd_config
CommitLineData
2a8a6488 1# $OpenBSD: sshd_config,v 1.47 2002/02/09 17:37:34 deraadt Exp $
b2d818e6 2
61e96248 3# This is the sshd server system-wide configuration file. See sshd(8)
4# for more information.
8efc0c15 5
70e2f2f3 6# This sshd was compiled with PATH=/usr/bin:/bin:/usr/sbin:/sbin
7
ac10636f 8# The stategy 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
d6f24e45 14#Protocol 2,1
adc83ebf 15#ListenAddress 0.0.0.0
48e671d5 16#ListenAddress ::
a98da4aa 17
18# HostKey for protocol version 1
2a8a6488 19#HostKey /etc/ssh/ssh_host_key
a98da4aa 20# HostKeys for protocol version 2
2a8a6488 21#HostKey /etc/ssh/ssh_host_rsa_key
22#HostKey /etc/ssh/ssh_host_dsa_key
a98da4aa 23
24# Lifetime and size of ephemeral version 1 server key
ac10636f 25#KeyRegenerationInterval 3600
26#ServerKeyBits 768
dd092f97 27
5f4fdfae 28# Logging
5f4fdfae 29#obsoletes QuietMode and FascistLogging
ac10636f 30#SyslogFacility AUTH
31#LogLevel INFO
272b7f60 32
a98da4aa 33# Authentication:
34
ac10636f 35#LoginGraceTime 600
36#PermitRootLogin yes
37#StrictModes yes
a98da4aa 38
ac10636f 39#RSAAuthentication yes
40#PubkeyAuthentication yes
41#AuthorizedKeysFile .ssh/authorized_keys
a98da4aa 42
43# rhosts authentication should not be used
ac10636f 44#RhostsAuthentication no
a98da4aa 45# Don't read the user's ~/.rhosts and ~/.shosts files
ac10636f 46#IgnoreRhosts yes
2a8a6488 47# For this to work you will also need host keys in /etc/ssh/ssh_known_hosts
ac10636f 48#RhostsRSAAuthentication no
8002af61 49# similar for protocol version 2
ac10636f 50#HostbasedAuthentication no
51# Change to yes if you don't trust ~/.ssh/known_hosts for
52# RhostsRSAAuthentication and HostbasedAuthentication
53#IgnoreUserKnownHosts no
8efc0c15 54
55# To disable tunneled clear text passwords, change to no here!
ac10636f 56#PasswordAuthentication yes
57#PermitEmptyPasswords no
10f72868 58
ac10636f 59# Change to no to disable s/key passwords
60#ChallengeResponseAuthentication yes
8efc0c15 61
ac10636f 62# Kerberos options
63# KerberosAuthentication automatically enabled if keyfile exists
64#KerberosAuthentication yes
8efc0c15 65#KerberosOrLocalPasswd yes
ac10636f 66#KerberosTicketCleanup yes
5f4fdfae 67
ac10636f 68# AFSTokenPassing automatically enabled if k_hasafs() is true
69#AFSTokenPassing yes
70
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
5f4fdfae 77
ac10636f 78#X11Forwarding no
79#X11DisplayOffset 10
e6e573bd 80#X11UseLocalhost yes
ac10636f 81#PrintMotd yes
82#PrintLastLog yes
83#KeepAlive yes
10fa00c8 84#UseLogin no
38c295d6 85
ac10636f 86#MaxStartups 10
87# no default banner path
88#Banner /some/path
bf4c5edc 89#VerifyReverseMapping no
7bbcc167 90
ac10636f 91# override default of no subsystems
7bbcc167 92Subsystem sftp /usr/libexec/sftp-server
This page took 0.149631 seconds and 5 git commands to generate.