]> andersk Git - openssh.git/blame - sshd_config
- markus@cvs.openbsd.org 2003/07/23 07:42:43
[openssh.git] / sshd_config
CommitLineData
ac452e85 1# $OpenBSD: sshd_config,v 1.62 2003/07/23 07:42:43 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
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
eadc806d 63#KerberosAuthentication no
8efc0c15 64#KerberosOrLocalPasswd yes
ac10636f 65#KerberosTicketCleanup yes
ac10636f 66#KerberosTgtPassing no
67
d0ec7f42 68# Set this to 'yes' to enable PAM authentication (via challenge-response)
fa09f149 69# and session processing. Depending on your PAM configuration, this may
70# bypass the setting of 'PasswordAuthentication'
71#UsePAM yes
5f4fdfae 72
4db4d313 73#AllowTcpForwarding yes
74#GatewayPorts no
ac10636f 75#X11Forwarding no
76#X11DisplayOffset 10
e6e573bd 77#X11UseLocalhost yes
ac10636f 78#PrintMotd yes
79#PrintLastLog yes
80#KeepAlive yes
10fa00c8 81#UseLogin no
2ee1b704 82#UsePrivilegeSeparation yes
f00bab84 83#PermitUserEnvironment no
6f26d43d 84#Compression yes
4db4d313 85#ClientAliveInterval 0
86#ClientAliveCountMax 3
87#UseDNS yes
88#PidFile /var/run/sshd.pid
ac10636f 89#MaxStartups 10
4db4d313 90
ac10636f 91# no default banner path
92#Banner /some/path
7bbcc167 93
ac10636f 94# override default of no subsystems
7bbcc167 95Subsystem sftp /usr/libexec/sftp-server
This page took 0.190703 seconds and 5 git commands to generate.