Subversion Repositories configs

Rev

Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
4 - 1
#	$OpenBSD: sshd_config,v 1.80 2008/07/02 02:24:18 djm Exp $
2
 
3
# This is the sshd server system-wide configuration file.  See
4
# sshd_config(5) for more information.
5
 
6
# This sshd was compiled with PATH=/usr/local/bin:/bin:/usr/bin
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
14
#AddressFamily any
15
#ListenAddress 0.0.0.0
16
#ListenAddress ::
17
 
18
# Disable legacy (protocol version 1) support in the server for new
19
# installations. In future the default will change to require explicit
20
# activation of protocol 1
21
Protocol 2
22
 
23
# HostKey for protocol version 1
24
#HostKey /etc/ssh/ssh_host_key
25
# HostKeys for protocol version 2
26
#HostKey /etc/ssh/ssh_host_rsa_key
27
#HostKey /etc/ssh/ssh_host_dsa_key
28
 
29
# Lifetime and size of ephemeral version 1 server key
30
#KeyRegenerationInterval 1h
31
#ServerKeyBits 1024
32
 
33
# Logging
34
# obsoletes QuietMode and FascistLogging
35
#SyslogFacility AUTH
36
SyslogFacility AUTHPRIV
37
#LogLevel INFO
38
 
39
# Authentication:
40
 
41
#LoginGraceTime 2m
42
#PermitRootLogin yes
43
#StrictModes yes
44
#MaxAuthTries 6
45
#MaxSessions 10
46
 
47
#RSAAuthentication yes
48
#PubkeyAuthentication yes
49
#AuthorizedKeysFile	.ssh/authorized_keys
50
#AuthorizedKeysCommand none
51
#AuthorizedKeysCommandRunAs nobody
52
 
53
# For this to work you will also need host keys in /etc/ssh/ssh_known_hosts
54
#RhostsRSAAuthentication no
55
# similar for protocol version 2
56
#HostbasedAuthentication no
57
# Change to yes if you don't trust ~/.ssh/known_hosts for
58
# RhostsRSAAuthentication and HostbasedAuthentication
59
#IgnoreUserKnownHosts no
60
# Don't read the user's ~/.rhosts and ~/.shosts files
61
#IgnoreRhosts yes
62
 
63
# To disable tunneled clear text passwords, change to no here!
64
#PasswordAuthentication yes
65
#PermitEmptyPasswords no
66
PasswordAuthentication yes
67
 
68
# Change to no to disable s/key passwords
69
#ChallengeResponseAuthentication yes
70
#Overwritten by lwidentity: ChallengeResponseAuthentication no
71
ChallengeResponseAuthentication yes
72
 
73
# Kerberos options
74
#KerberosAuthentication no
75
#KerberosOrLocalPasswd yes
76
#KerberosTicketCleanup yes
77
#KerberosGetAFSToken no
78
#KerberosUseKuserok yes
79
 
80
# GSSAPI options
81
#GSSAPIAuthentication no
82
GSSAPIAuthentication yes
83
#GSSAPICleanupCredentials yes
84
GSSAPICleanupCredentials yes
85
#GSSAPIStrictAcceptorCheck yes
86
#GSSAPIKeyExchange no
87
 
88
# Set this to 'yes' to enable PAM authentication, account processing,
89
# and session processing. If this is enabled, PAM authentication will
90
# be allowed through the ChallengeResponseAuthentication and
91
# PasswordAuthentication.  Depending on your PAM configuration,
92
# PAM authentication via ChallengeResponseAuthentication may bypass
93
# the setting of "PermitRootLogin without-password".
94
# If you just want the PAM account and session checks to run without
95
# PAM authentication, then enable this but set PasswordAuthentication
96
# and ChallengeResponseAuthentication to 'no'.
97
#UsePAM no
98
UsePAM yes
99
 
100
# Accept locale-related environment variables
101
AcceptEnv LANG LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES
102
AcceptEnv LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT
103
AcceptEnv LC_IDENTIFICATION LC_ALL LANGUAGE
104
AcceptEnv XMODIFIERS
105
 
106
#AllowAgentForwarding yes
107
#AllowTcpForwarding yes
108
#GatewayPorts no
109
#X11Forwarding no
110
X11Forwarding yes
111
#X11DisplayOffset 10
112
#X11UseLocalhost yes
113
#PrintMotd yes
114
#PrintLastLog yes
115
#TCPKeepAlive yes
116
#UseLogin no
117
#UsePrivilegeSeparation yes
118
#PermitUserEnvironment no
119
#Compression delayed
120
#ClientAliveInterval 0
121
#ClientAliveCountMax 3
122
#ShowPatchLevel no
123
#UseDNS yes
124
#PidFile /var/run/sshd.pid
125
#MaxStartups 10
126
#PermitTunnel no
127
#ChrootDirectory none
128
 
129
# no default banner path
130
#Banner none
131
 
132
# override default of no subsystems
133
Subsystem	sftp	/usr/libexec/openssh/sftp-server
134
 
135
# Example of overriding settings on a per-user basis
136
#Match User anoncvs
137
#	X11Forwarding no
138
#	AllowTcpForwarding no
139
#	ForceCommand cvs server
140
KbdInteractiveAuthentication yes