NetBSD/crypto/dist/ssh/sshd_config

97 lines
2.3 KiB
Plaintext
Raw Normal View History

2006-02-05 01:32:13 +03:00
# $NetBSD: sshd_config,v 1.23 2006/02/04 22:32:14 christos Exp $
# $OpenBSD: sshd_config,v 1.73 2005/12/06 22:38:28 reyk Exp $
2001-02-07 19:46:40 +03:00
# This is the sshd server system-wide configuration file. See
# sshd_config(5) for more information.
2001-02-07 19:46:40 +03:00
# The strategy 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
2001-02-07 19:46:40 +03:00
#Protocol 2,1
2005-04-23 20:53:28 +04:00
#AddressFamily any
2001-02-07 19:46:40 +03:00
#ListenAddress 0.0.0.0
#ListenAddress ::
# HostKey for protocol version 1
2002-03-11 07:57:55 +03:00
#HostKey /etc/ssh/ssh_host_key
# HostKeys for protocol version 2
2002-03-11 07:57:55 +03:00
#HostKey /etc/ssh/ssh_host_rsa_key
#HostKey /etc/ssh/ssh_host_dsa_key
# Lifetime and size of ephemeral version 1 server key
2005-02-13 08:57:25 +03:00
#KeyRegenerationInterval 1h
#ServerKeyBits 768
2001-02-07 19:46:40 +03:00
# Logging
2006-02-05 01:32:13 +03:00
# obsoletes QuietMode and FascistLogging
#SyslogFacility AUTH
#LogLevel INFO
2001-02-07 19:46:40 +03:00
# Authentication:
# Slow machines or long keys may require more processing time.
LoginGraceTime 600
#PermitRootLogin no
#StrictModes yes
2005-02-13 08:57:25 +03:00
#MaxAuthTries 6
#RSAAuthentication yes
#PubkeyAuthentication yes
#AuthorizedKeysFile .ssh/authorized_keys
2002-03-11 07:57:55 +03:00
# For this to work you will also need host keys in /etc/ssh/ssh_known_hosts
#RhostsRSAAuthentication no
# similar for protocol version 2
#HostbasedAuthentication no
# Change to yes if you don't trust ~/.ssh/known_hosts for
# RhostsRSAAuthentication and HostbasedAuthentication
#IgnoreUserKnownHosts no
2005-02-13 08:57:25 +03:00
# Don't read the user's ~/.rhosts and ~/.shosts files
#IgnoreRhosts yes
2001-02-07 19:46:40 +03:00
# To disable tunneled clear text passwords, change to no here!
#PasswordAuthentication yes
#PermitEmptyPasswords no
2001-02-07 19:46:40 +03:00
# Change to no to disable s/key passwords
#ChallengeResponseAuthentication yes
2001-02-07 19:46:40 +03:00
# Kerberos options
#KerberosAuthentication no
2001-02-07 19:46:40 +03:00
#KerberosOrLocalPasswd yes
#KerberosTicketCleanup yes
2005-02-13 08:57:25 +03:00
#KerberosGetAFSToken no
2005-02-13 08:57:25 +03:00
# GSSAPI options
#GSSAPIAuthentication no
#GSSAPICleanupCredentials yes
2001-02-07 19:46:40 +03:00
2005-02-13 08:57:25 +03:00
#AllowTcpForwarding yes
#GatewayPorts no
#X11Forwarding no
#X11DisplayOffset 10
#X11UseLocalhost yes
#PrintMotd yes
#PrintLastLog yes
2005-02-13 08:57:25 +03:00
#TCPKeepAlive yes
2001-02-07 19:46:40 +03:00
#UseLogin no
#UsePrivilegeSeparation yes
2005-02-28 05:35:10 +03:00
UsePam yes
#PermitUserEnvironment no
2006-02-05 01:32:13 +03:00
#Compression delayed
2005-02-13 08:57:25 +03:00
#ClientAliveInterval 0
#ClientAliveCountMax 3
#UseDNS yes
#PidFile /var/run/sshd.pid
#MaxStartups 10
2006-02-05 01:32:13 +03:00
#PermitTunnel no
2005-02-13 08:57:25 +03:00
# no default banner path
#Banner /some/path
2001-02-07 19:46:40 +03:00
# override default of no subsystems
2001-02-07 19:46:40 +03:00
Subsystem sftp /usr/libexec/sftp-server