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