]> andersk Git - openssh.git/blame - sshd_config
- (dtucker) [configure.ac openbsd-compat/xcrypt.c] Bug #633: Remove
[openssh.git] / sshd_config
CommitLineData
8f73f7bb 1# $OpenBSD: sshd_config,v 1.65 2003/08/28 12:54:34 markus Exp $
b2d818e6 2
54e5539d 3# This is the sshd server system-wide configuration file. See
4# sshd_config(5) for more information.
8efc0c15 5
70e2f2f3 6# This sshd was compiled with PATH=/usr/bin:/bin:/usr/sbin:/sbin
7
d9959c61 8# The strategy used for options in the default sshd_config shipped with
ac10636f 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
4db4d313 25#KeyRegenerationInterval 1h
ac10636f 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
4db4d313 35#LoginGraceTime 2m
ac10636f 36#PermitRootLogin yes
37#StrictModes yes
a98da4aa 38
ac10636f 39#RSAAuthentication yes
40#PubkeyAuthentication yes
41#AuthorizedKeysFile .ssh/authorized_keys
a98da4aa 42
2a8a6488 43# For this to work you will also need host keys in /etc/ssh/ssh_known_hosts
ac10636f 44#RhostsRSAAuthentication no
8002af61 45# similar for protocol version 2
ac10636f 46#HostbasedAuthentication no
47# Change to yes if you don't trust ~/.ssh/known_hosts for
48# RhostsRSAAuthentication and HostbasedAuthentication
49#IgnoreUserKnownHosts no
0598d99d 50# Don't read the user's ~/.rhosts and ~/.shosts files
51#IgnoreRhosts yes
8efc0c15 52
53# To disable tunneled clear text passwords, change to no here!
ac10636f 54#PasswordAuthentication yes
55#PermitEmptyPasswords no
10f72868 56
ac10636f 57# Change to no to disable s/key passwords
58#ChallengeResponseAuthentication yes
8efc0c15 59
ac10636f 60# Kerberos options
eadc806d 61#KerberosAuthentication no
8efc0c15 62#KerberosOrLocalPasswd yes
ac10636f 63#KerberosTicketCleanup yes
ac10636f 64
7364bd04 65# GSSAPI options
66#GSSAPIAuthentication no
67#GSSAPICleanupCreds yes
68
d0ec7f42 69# Set this to 'yes' to enable PAM authentication (via challenge-response)
fa09f149 70# and session processing. Depending on your PAM configuration, this may
71# bypass the setting of 'PasswordAuthentication'
72#UsePAM yes
5f4fdfae 73
4db4d313 74#AllowTcpForwarding yes
75#GatewayPorts no
ac10636f 76#X11Forwarding no
77#X11DisplayOffset 10
e6e573bd 78#X11UseLocalhost yes
ac10636f 79#PrintMotd yes
80#PrintLastLog yes
81#KeepAlive yes
10fa00c8 82#UseLogin no
2ee1b704 83#UsePrivilegeSeparation yes
f00bab84 84#PermitUserEnvironment no
6f26d43d 85#Compression yes
4db4d313 86#ClientAliveInterval 0
87#ClientAliveCountMax 3
88#UseDNS yes
89#PidFile /var/run/sshd.pid
ac10636f 90#MaxStartups 10
4db4d313 91
ac10636f 92# no default banner path
93#Banner /some/path
7bbcc167 94
ac10636f 95# override default of no subsystems
7bbcc167 96Subsystem sftp /usr/libexec/sftp-server
This page took 0.98097 seconds and 5 git commands to generate.