2001-06-05 20:25:05 +00:00
|
|
|
# $OpenBSD: sshd_config,v 1.39 2001/05/20 17:20:36 markus Exp $
|
2001-01-29 07:39:26 +00:00
|
|
|
|
2001-03-10 21:50:45 +00:00
|
|
|
# This sshd was compiled with PATH=/usr/bin:/bin:/usr/sbin:/sbin
|
|
|
|
|
2001-02-04 12:20:18 +00:00
|
|
|
# This is the sshd server system-wide configuration file. See sshd(8)
|
|
|
|
# for more information.
|
1999-10-27 03:42:43 +00:00
|
|
|
|
|
|
|
Port 22
|
2000-04-19 06:26:12 +00:00
|
|
|
#Protocol 2,1
|
2001-01-09 15:28:46 +00:00
|
|
|
#ListenAddress 0.0.0.0
|
2000-01-14 04:45:46 +00:00
|
|
|
#ListenAddress ::
|
2000-01-20 12:13:36 +00:00
|
|
|
HostKey /etc/ssh_host_key
|
2001-03-05 05:17:18 +00:00
|
|
|
HostKey /etc/ssh_host_rsa_key
|
2001-03-05 06:05:35 +00:00
|
|
|
HostKey /etc/ssh_host_dsa_key
|
1999-10-27 03:42:43 +00:00
|
|
|
ServerKeyBits 768
|
|
|
|
LoginGraceTime 600
|
|
|
|
KeyRegenerationInterval 3600
|
|
|
|
PermitRootLogin yes
|
2000-01-20 12:13:36 +00:00
|
|
|
#
|
|
|
|
# Don't read ~/.rhosts and ~/.shosts files
|
|
|
|
IgnoreRhosts yes
|
|
|
|
# Uncomment if you don't trust ~/.ssh/known_hosts for RhostsRSAAuthentication
|
|
|
|
#IgnoreUserKnownHosts yes
|
1999-10-27 03:42:43 +00:00
|
|
|
StrictModes yes
|
1999-11-12 00:33:04 +00:00
|
|
|
X11Forwarding no
|
1999-10-27 03:42:43 +00:00
|
|
|
X11DisplayOffset 10
|
|
|
|
PrintMotd yes
|
2001-03-26 05:45:53 +00:00
|
|
|
#PrintLastLog no
|
1999-10-27 03:42:43 +00:00
|
|
|
KeepAlive yes
|
1999-11-13 12:56:35 +00:00
|
|
|
|
2000-01-20 12:13:36 +00:00
|
|
|
# Logging
|
2001-01-09 15:28:46 +00:00
|
|
|
SyslogFacility AUTH
|
1999-11-13 12:56:35 +00:00
|
|
|
LogLevel INFO
|
2000-01-20 12:13:36 +00:00
|
|
|
#obsoletes QuietMode and FascistLogging
|
1999-11-11 10:07:00 +00:00
|
|
|
|
1999-11-13 12:56:35 +00:00
|
|
|
RhostsAuthentication no
|
1999-11-12 00:33:04 +00:00
|
|
|
#
|
2000-01-20 12:13:36 +00:00
|
|
|
# For this to work you will also need host keys in /etc/ssh_known_hosts
|
|
|
|
RhostsRSAAuthentication no
|
2001-04-12 23:34:34 +00:00
|
|
|
# similar for protocol version 2
|
|
|
|
HostbasedAuthentication no
|
1999-11-12 00:33:04 +00:00
|
|
|
#
|
1999-10-27 03:42:43 +00:00
|
|
|
RSAAuthentication yes
|
2001-06-05 20:25:05 +00:00
|
|
|
PubkeyAuthentication yes
|
|
|
|
#AuthorizedKeysFile %h/.ssh/authorized_keys
|
|
|
|
#AuthorizedKeysFile2 %h/.ssh/authorized_keys2
|
1999-10-27 03:42:43 +00:00
|
|
|
|
|
|
|
# To disable tunneled clear text passwords, change to no here!
|
|
|
|
PasswordAuthentication yes
|
|
|
|
PermitEmptyPasswords no
|
2001-02-04 12:20:18 +00:00
|
|
|
|
2001-04-25 12:44:14 +00:00
|
|
|
# Uncomment to disable s/key passwords
|
|
|
|
#ChallengeResponseAuthentication no
|
|
|
|
|
|
|
|
# Uncomment to enable PAM keyboard-interactive authentication
|
|
|
|
# Warning: enabling this may bypass the setting of 'PasswordAuthentication'
|
|
|
|
#PAMAuthenticationViaKbdInt yes
|
1999-10-27 03:42:43 +00:00
|
|
|
|
2000-01-20 12:13:36 +00:00
|
|
|
# To change Kerberos options
|
1999-10-27 03:42:43 +00:00
|
|
|
#KerberosAuthentication no
|
|
|
|
#KerberosOrLocalPasswd yes
|
|
|
|
#AFSTokenPassing no
|
|
|
|
#KerberosTicketCleanup no
|
2000-01-20 12:13:36 +00:00
|
|
|
|
1999-10-27 03:42:43 +00:00
|
|
|
# Kerberos TGT Passing does only work with the AFS kaserver
|
|
|
|
#KerberosTgtPassing yes
|
2000-01-20 12:13:36 +00:00
|
|
|
|
2001-01-09 15:28:46 +00:00
|
|
|
#CheckMail yes
|
2000-08-29 22:40:09 +00:00
|
|
|
#UseLogin no
|
2000-06-18 04:50:44 +00:00
|
|
|
|
2000-08-18 03:59:06 +00:00
|
|
|
#MaxStartups 10:30:60
|
2001-01-09 00:35:42 +00:00
|
|
|
#Banner /etc/issue.net
|
2001-02-04 12:20:18 +00:00
|
|
|
#ReverseMappingCheck yes
|
2001-02-10 23:26:35 +00:00
|
|
|
|
|
|
|
Subsystem sftp /usr/libexec/sftp-server
|