ソースを参照

CheckMail is now no longer implemented

Ralf S. Engelschall 24 年 前
コミット
25bde19738
2 ファイル変更39 行追加1 行削除
  1. 1 1
      openssh/openssh.spec
  2. 38 0
      openssh/sshd_config

+ 1 - 1
openssh/openssh.spec

@@ -35,7 +35,7 @@ Distribution: OpenPKG [EXP]
 Group:        Cryptography
 License:      BSD
 Version:      %{V_openssh}
-Release:      9
+Release:      10
 
 #   list of sources
 Source0:      ftp://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-%{V_openssh}.tar.gz

+ 38 - 0
openssh/sshd_config

@@ -0,0 +1,38 @@
+##
+##  sshd_config -- OpenSSH Daemon Configuration
+##
+
+Port                     22
+ListenAddress            0.0.0.0
+
+Subsystem                sftp @l_prefix@/libexec/openssh/sftp-server
+
+Protocol                 1,2
+HostKey                  @l_prefix@/etc/openssh/ssh_host_key
+HostDsaKey               @l_prefix@/etc/openssh/ssh_host_dsa_key
+ServerKeyBits            768
+KeyRegenerationInterval  3600
+
+PidFile                  @l_prefix@/var/openssh/sshd.pid
+SyslogFacility           AUTH
+LogLevel                 INFO
+
+RhostsAuthentication     no
+RhostsRSAAuthentication  no
+PasswordAuthentication   yes
+RSAAuthentication        yes
+DSAAuthentication        yes
+
+StrictModes              yes
+IgnoreRhosts             yes
+X11Forwarding            no
+GatewayPorts             no
+KeepAlive                yes
+
+LoginGraceTime           600
+MaxStartups              10:30:60
+PermitRootLogin          yes
+PermitEmptyPasswords     no
+UseLogin                 @uselogin@
+PrintMotd                @printmotd@
+