1999-10-27 07:42:43 +04:00
|
|
|
# This is ssh server systemwide configuration file.
|
|
|
|
|
|
|
|
Port 22
|
2000-04-19 10:26:12 +04:00
|
|
|
#Protocol 2,1
|
1999-10-27 07:42:43 +04:00
|
|
|
ListenAddress 0.0.0.0
|
2000-01-14 07:45:46 +03:00
|
|
|
#ListenAddress ::
|
2000-01-20 15:13:36 +03:00
|
|
|
HostKey /etc/ssh_host_key
|
1999-10-27 07:42:43 +04:00
|
|
|
ServerKeyBits 768
|
|
|
|
LoginGraceTime 600
|
|
|
|
KeyRegenerationInterval 3600
|
|
|
|
PermitRootLogin yes
|
2000-01-20 15:13:36 +03: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 07:42:43 +04:00
|
|
|
StrictModes yes
|
1999-11-12 03:33:04 +03:00
|
|
|
X11Forwarding no
|
1999-10-27 07:42:43 +04:00
|
|
|
X11DisplayOffset 10
|
|
|
|
PrintMotd yes
|
|
|
|
KeepAlive yes
|
1999-11-13 15:56:35 +03:00
|
|
|
|
2000-01-20 15:13:36 +03:00
|
|
|
# Logging
|
1999-10-27 07:42:43 +04:00
|
|
|
SyslogFacility AUTH
|
1999-11-13 15:56:35 +03:00
|
|
|
LogLevel INFO
|
2000-01-20 15:13:36 +03:00
|
|
|
#obsoletes QuietMode and FascistLogging
|
1999-11-11 13:07:00 +03:00
|
|
|
|
1999-11-13 15:56:35 +03:00
|
|
|
RhostsAuthentication no
|
1999-11-12 03:33:04 +03:00
|
|
|
#
|
2000-01-20 15:13:36 +03:00
|
|
|
# For this to work you will also need host keys in /etc/ssh_known_hosts
|
|
|
|
RhostsRSAAuthentication no
|
1999-11-12 03:33:04 +03:00
|
|
|
#
|
1999-10-27 07:42:43 +04:00
|
|
|
RSAAuthentication yes
|
|
|
|
|
|
|
|
# To disable tunneled clear text passwords, change to no here!
|
|
|
|
PasswordAuthentication yes
|
|
|
|
PermitEmptyPasswords no
|
2000-01-20 15:13:36 +03:00
|
|
|
# Uncomment to disable s/key passwords
|
1999-10-27 07:42:43 +04:00
|
|
|
#SkeyAuthentication no
|
|
|
|
|
2000-01-20 15:13:36 +03:00
|
|
|
# To change Kerberos options
|
1999-10-27 07:42:43 +04:00
|
|
|
#KerberosAuthentication no
|
|
|
|
#KerberosOrLocalPasswd yes
|
|
|
|
#AFSTokenPassing no
|
|
|
|
#KerberosTicketCleanup no
|
2000-01-20 15:13:36 +03:00
|
|
|
|
1999-10-27 07:42:43 +04:00
|
|
|
# Kerberos TGT Passing does only work with the AFS kaserver
|
|
|
|
#KerberosTgtPassing yes
|
2000-01-20 15:13:36 +03:00
|
|
|
|
|
|
|
CheckMail no
|
2000-08-30 02:40:09 +04:00
|
|
|
#UseLogin no
|
2000-06-18 08:50:44 +04:00
|
|
|
|
|
|
|
#Subsystem sftp /usr/local/sbin/sftpd
|
2000-08-18 07:59:06 +04:00
|
|
|
#MaxStartups 10:30:60
|