diff options
Diffstat (limited to 'other/ssharp/sshd_config')
| -rw-r--r-- | other/ssharp/sshd_config | 72 |
1 files changed, 72 insertions, 0 deletions
diff --git a/other/ssharp/sshd_config b/other/ssharp/sshd_config new file mode 100644 index 0000000..8c411e4 --- /dev/null +++ b/other/ssharp/sshd_config | |||
| @@ -0,0 +1,72 @@ | |||
| 1 | # $OpenBSD: sshd_config,v 1.38 2001/04/15 21:41:29 deraadt Exp $ | ||
| 2 | |||
| 3 | # This sshd was compiled with PATH=/usr/bin:/bin:/usr/sbin:/sbin | ||
| 4 | |||
| 5 | # This is the sshd server system-wide configuration file. See sshd(8) | ||
| 6 | # for more information. | ||
| 7 | |||
| 8 | Port 22 | ||
| 9 | #Protocol 2,1 | ||
| 10 | #ListenAddress 0.0.0.0 | ||
| 11 | #ListenAddress :: | ||
| 12 | HostKey /etc/ssh_host_key | ||
| 13 | HostKey /etc/ssh_host_rsa_key | ||
| 14 | HostKey /etc/ssh_host_dsa_key | ||
| 15 | ServerKeyBits 768 | ||
| 16 | LoginGraceTime 600 | ||
| 17 | KeyRegenerationInterval 3600 | ||
| 18 | PermitRootLogin yes | ||
| 19 | # | ||
| 20 | # Don't read ~/.rhosts and ~/.shosts files | ||
| 21 | IgnoreRhosts yes | ||
| 22 | # Uncomment if you don't trust ~/.ssh/known_hosts for RhostsRSAAuthentication | ||
| 23 | #IgnoreUserKnownHosts yes | ||
| 24 | StrictModes yes | ||
| 25 | X11Forwarding no | ||
| 26 | X11DisplayOffset 10 | ||
| 27 | PrintMotd yes | ||
| 28 | #PrintLastLog no | ||
| 29 | KeepAlive yes | ||
| 30 | |||
| 31 | # Logging | ||
| 32 | SyslogFacility AUTH | ||
| 33 | LogLevel INFO | ||
| 34 | #obsoletes QuietMode and FascistLogging | ||
| 35 | |||
| 36 | RhostsAuthentication no | ||
| 37 | # | ||
| 38 | # For this to work you will also need host keys in /etc/ssh_known_hosts | ||
| 39 | RhostsRSAAuthentication no | ||
| 40 | # similar for protocol version 2 | ||
| 41 | HostbasedAuthentication no | ||
| 42 | # | ||
| 43 | RSAAuthentication yes | ||
| 44 | |||
| 45 | # To disable tunneled clear text passwords, change to no here! | ||
| 46 | PasswordAuthentication yes | ||
| 47 | PermitEmptyPasswords no | ||
| 48 | |||
| 49 | # Uncomment to disable s/key passwords | ||
| 50 | #ChallengeResponseAuthentication no | ||
| 51 | |||
| 52 | # Uncomment to enable PAM keyboard-interactive authentication | ||
| 53 | # Warning: enabling this may bypass the setting of 'PasswordAuthentication' | ||
| 54 | #PAMAuthenticationViaKbdInt yes | ||
| 55 | |||
| 56 | # To change Kerberos options | ||
| 57 | #KerberosAuthentication no | ||
| 58 | #KerberosOrLocalPasswd yes | ||
| 59 | #AFSTokenPassing no | ||
| 60 | #KerberosTicketCleanup no | ||
| 61 | |||
| 62 | # Kerberos TGT Passing does only work with the AFS kaserver | ||
| 63 | #KerberosTgtPassing yes | ||
| 64 | |||
| 65 | #CheckMail yes | ||
| 66 | #UseLogin no | ||
| 67 | |||
| 68 | #MaxStartups 10:30:60 | ||
| 69 | #Banner /etc/issue.net | ||
| 70 | #ReverseMappingCheck yes | ||
| 71 | |||
| 72 | Subsystem sftp /usr/libexec/sftp-server | ||
