2002-02-05 04:11:34 +03:00
|
|
|
# $OpenBSD: sshd_config,v 1.45 2002/01/27 14:57:46 stevesk Exp $
|
2001-03-11 00:50:45 +03:00
|
|
|
|
2001-02-04 15:20:18 +03:00
|
|
|
# This is the sshd server system-wide configuration file. See sshd(8)
|
|
|
|
# for more information.
|
1999-10-27 07:42:43 +04:00
|
|
|
|
2002-01-31 09:14:03 +03:00
|
|
|
# This sshd was compiled with PATH=/usr/bin:/bin:/usr/sbin:/sbin
|
|
|
|
|
2002-01-22 15:32:07 +03:00
|
|
|
# The stategy used for options in the default sshd_config shipped with
|
|
|
|
# OpenSSH is to specify options with their default value where
|
|
|
|
# possible, but leave them commented. Uncommented options change a
|
|
|
|
# default value.
|
|
|
|
|
|
|
|
#Port 22
|
2000-04-19 10:26:12 +04:00
|
|
|
#Protocol 2,1
|
2001-01-09 18:28:46 +03:00
|
|
|
#ListenAddress 0.0.0.0
|
2000-01-14 07:45:46 +03:00
|
|
|
#ListenAddress ::
|
2001-06-09 05:09:51 +04:00
|
|
|
|
|
|
|
# HostKey for protocol version 1
|
2002-01-22 15:32:07 +03:00
|
|
|
#HostKey /etc/ssh_host_key
|
2001-06-09 05:09:51 +04:00
|
|
|
# HostKeys for protocol version 2
|
2002-01-22 15:32:07 +03:00
|
|
|
#HostKey /etc/ssh_host_rsa_key
|
|
|
|
#HostKey /etc/ssh_host_dsa_key
|
2001-06-09 05:09:51 +04:00
|
|
|
|
|
|
|
# Lifetime and size of ephemeral version 1 server key
|
2002-01-22 15:32:07 +03:00
|
|
|
#KeyRegenerationInterval 3600
|
|
|
|
#ServerKeyBits 768
|
1999-11-13 15:56:35 +03:00
|
|
|
|
2000-01-20 15:13:36 +03:00
|
|
|
# Logging
|
|
|
|
#obsoletes QuietMode and FascistLogging
|
2002-01-22 15:32:07 +03:00
|
|
|
#SyslogFacility AUTH
|
|
|
|
#LogLevel INFO
|
1999-11-11 13:07:00 +03:00
|
|
|
|
2001-06-09 05:09:51 +04:00
|
|
|
# Authentication:
|
|
|
|
|
2002-01-22 15:32:07 +03:00
|
|
|
#LoginGraceTime 600
|
|
|
|
#PermitRootLogin yes
|
|
|
|
#StrictModes yes
|
2001-06-09 05:09:51 +04:00
|
|
|
|
2002-01-22 15:32:07 +03:00
|
|
|
#RSAAuthentication yes
|
|
|
|
#PubkeyAuthentication yes
|
|
|
|
#AuthorizedKeysFile .ssh/authorized_keys
|
2001-06-09 05:09:51 +04:00
|
|
|
|
|
|
|
# rhosts authentication should not be used
|
2002-01-22 15:32:07 +03:00
|
|
|
#RhostsAuthentication no
|
2001-06-09 05:09:51 +04:00
|
|
|
# Don't read the user's ~/.rhosts and ~/.shosts files
|
2002-01-22 15:32:07 +03:00
|
|
|
#IgnoreRhosts yes
|
2000-01-20 15:13:36 +03:00
|
|
|
# For this to work you will also need host keys in /etc/ssh_known_hosts
|
2002-01-22 15:32:07 +03:00
|
|
|
#RhostsRSAAuthentication no
|
2001-04-13 03:34:34 +04:00
|
|
|
# similar for protocol version 2
|
2002-01-22 15:32:07 +03:00
|
|
|
#HostbasedAuthentication no
|
|
|
|
# Change to yes if you don't trust ~/.ssh/known_hosts for
|
|
|
|
# RhostsRSAAuthentication and HostbasedAuthentication
|
|
|
|
#IgnoreUserKnownHosts no
|
1999-10-27 07:42:43 +04:00
|
|
|
|
|
|
|
# To disable tunneled clear text passwords, change to no here!
|
2002-01-22 15:32:07 +03:00
|
|
|
#PasswordAuthentication yes
|
|
|
|
#PermitEmptyPasswords no
|
2001-04-25 16:44:14 +04:00
|
|
|
|
2002-01-22 15:32:07 +03:00
|
|
|
# Change to no to disable s/key passwords
|
|
|
|
#ChallengeResponseAuthentication yes
|
1999-10-27 07:42:43 +04:00
|
|
|
|
2002-01-22 15:32:07 +03:00
|
|
|
# Kerberos options
|
|
|
|
# KerberosAuthentication automatically enabled if keyfile exists
|
|
|
|
#KerberosAuthentication yes
|
1999-10-27 07:42:43 +04:00
|
|
|
#KerberosOrLocalPasswd yes
|
2002-01-22 15:32:07 +03:00
|
|
|
#KerberosTicketCleanup yes
|
2000-01-20 15:13:36 +03:00
|
|
|
|
2002-01-22 15:32:07 +03:00
|
|
|
# AFSTokenPassing automatically enabled if k_hasafs() is true
|
|
|
|
#AFSTokenPassing yes
|
|
|
|
|
|
|
|
# Kerberos TGT Passing only works with the AFS kaserver
|
|
|
|
#KerberosTgtPassing no
|
|
|
|
|
|
|
|
# Set this to 'yes' to enable PAM keyboard-interactive authentication
|
|
|
|
# Warning: enabling this may bypass the setting of 'PasswordAuthentication'
|
|
|
|
#PAMAuthenticationViaKbdInt yes
|
2000-01-20 15:13:36 +03:00
|
|
|
|
2002-01-22 15:32:07 +03:00
|
|
|
#X11Forwarding no
|
|
|
|
#X11DisplayOffset 10
|
2002-02-05 04:11:34 +03:00
|
|
|
#X11UseLocalhost yes
|
2002-01-22 15:32:07 +03:00
|
|
|
#PrintMotd yes
|
|
|
|
#PrintLastLog yes
|
|
|
|
#KeepAlive yes
|
2000-08-30 02:40:09 +04:00
|
|
|
#UseLogin no
|
2000-06-18 08:50:44 +04:00
|
|
|
|
2002-01-22 15:32:07 +03:00
|
|
|
#MaxStartups 10
|
|
|
|
# no default banner path
|
|
|
|
#Banner /some/path
|
|
|
|
#ReverseMappingCheck no
|
2001-02-11 02:26:35 +03:00
|
|
|
|
2002-01-22 15:32:07 +03:00
|
|
|
# override default of no subsystems
|
2001-02-11 02:26:35 +03:00
|
|
|
Subsystem sftp /usr/libexec/sftp-server
|