浏览代码

CheckMail is now no longer implemented

master
父节点
当前提交
25bde19738
  1. 2
      openssh/openssh.spec
  2. 38
      openssh/sshd_config

2
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
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@
正在加载...
取消
保存