home *** CD-ROM | disk | FTP | other *** search
/ chilidog.highland.cc.ks.us / chilidog.highland.cc.ks.us.zip / chilidog.highland.cc.ks.us / backup / bradford.20120305.etc.tar.gz / bradford.20120305.etc.tar / etc / ssh / sshd_config < prev   
Text File  |  2008-05-27  |  4KB  |  120 lines

  1. #    $OpenBSD: sshd_config,v 1.72 2005/07/25 11:59:40 markus Exp $
  2.  
  3. # This is the sshd server system-wide configuration file.  See
  4. # sshd_config(5) for more information.
  5.  
  6. # This sshd was compiled with PATH=/usr/bin:/bin:/usr/sbin:/sbin
  7.  
  8. # The strategy used for options in the default sshd_config shipped with
  9. # OpenSSH is to specify options with their default value where
  10. # possible, but leave them commented.  Uncommented options change a
  11. # default value.
  12.  
  13. #Port 22
  14.  
  15. # kclark:  Disable SSHv1 since it has security weaknesses
  16. # orig: Protocol 2,1
  17. Protocol 2
  18. #AddressFamily any
  19. #ListenAddress 0.0.0.0
  20. #ListenAddress ::
  21.  
  22. # HostKey for protocol version 1
  23. #HostKey /etc/ssh/ssh_host_key
  24. # HostKeys for protocol version 2
  25. #HostKey /etc/ssh/ssh_host_rsa_key
  26. #HostKey /etc/ssh/ssh_host_dsa_key
  27.  
  28. # Lifetime and size of ephemeral version 1 server key
  29. #KeyRegenerationInterval 1h
  30. #ServerKeyBits 768
  31.  
  32. # Logging
  33. # obsoletes QuietMode and FascistLogging
  34. #SyslogFacility AUTH
  35. #LogLevel INFO
  36.  
  37. # Authentication:
  38.  
  39. #LoginGraceTime 2m
  40. #PermitRootLogin yes
  41. #StrictModes yes
  42. #MaxAuthTries 6
  43.  
  44. #RSAAuthentication yes
  45. #PubkeyAuthentication yes
  46. #AuthorizedKeysFile    .ssh/authorized_keys
  47.  
  48. # For this to work you will also need host keys in /etc/ssh/ssh_known_hosts
  49. #RhostsRSAAuthentication no
  50. # similar for protocol version 2
  51. #HostbasedAuthentication no
  52. # Change to yes if you don't trust ~/.ssh/known_hosts for
  53. # RhostsRSAAuthentication and HostbasedAuthentication
  54. #IgnoreUserKnownHosts no
  55. # Don't read the user's ~/.rhosts and ~/.shosts files
  56. #IgnoreRhosts yes
  57.  
  58. # To disable tunneled clear text passwords, change to no here!
  59. PasswordAuthentication no
  60. #PermitEmptyPasswords no
  61.  
  62. # Change to no to disable s/key passwords
  63. #ChallengeResponseAuthentication yes
  64.  
  65. # Kerberos options
  66. #KerberosAuthentication no
  67. #KerberosOrLocalPasswd yes
  68. #KerberosTicketCleanup yes
  69. #KerberosGetAFSToken no
  70.  
  71. # GSSAPI options
  72. #GSSAPIAuthentication no
  73. #GSSAPICleanupCredentials yes
  74.  
  75. # Set this to 'yes' to enable support for the deprecated 'gssapi' authentication
  76. # mechanism to OpenSSH 3.8p1. The newer 'gssapi-with-mic' mechanism is included
  77. # in this release. The use of 'gssapi' is deprecated due to the presence of 
  78. # potential man-in-the-middle attacks, which 'gssapi-with-mic' is not susceptible to.
  79. #GSSAPIEnableMITMAttack no
  80.  
  81.  
  82. # Set this to 'yes' to enable PAM authentication, account processing, 
  83. # and session processing. If this is enabled, PAM authentication will 
  84. # be allowed through the ChallengeResponseAuthentication mechanism. 
  85. # Depending on your PAM configuration, this may bypass the setting of 
  86. # PasswordAuthentication, PermitEmptyPasswords, and 
  87. # "PermitRootLogin without-password". If you just want the PAM account and 
  88. # session checks to run without PAM authentication, then enable this but set 
  89. # ChallengeResponseAuthentication=no
  90. UsePAM yes
  91.  
  92. #AllowTcpForwarding yes
  93. #GatewayPorts no
  94. X11Forwarding yes 
  95. #X11DisplayOffset 10
  96. #X11UseLocalhost yes
  97. #PrintMotd yes
  98. #PrintLastLog yes
  99. #TCPKeepAlive yes
  100. #UseLogin no
  101. #UsePrivilegeSeparation yes
  102. #PermitUserEnvironment no
  103. #Compression delayed
  104. #ClientAliveInterval 0
  105. #ClientAliveCountMax 3
  106. #UseDNS yes
  107. #PidFile /var/run/sshd.pid
  108. #MaxStartups 10
  109.  
  110. # no default banner path
  111. #Banner /some/path
  112.  
  113. # override default of no subsystems
  114. Subsystem    sftp    /usr/lib64/ssh/sftp-server
  115.  
  116. # This enables accepting locale enviroment variables LC_* LANG, see sshd_config(5).
  117. AcceptEnv LANG LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES 
  118. AcceptEnv LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT 
  119. AcceptEnv LC_IDENTIFICATION LC_ALL
  120.