Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
* base: centos.ustc.edu.cn
* extras: mirrors.aliyun.com
* updates: mirrors.cn99.com
No packages marked for update
Note: This output shows SysV services only and does not include native
systemd services. SysV configuration data might be overridden by native
systemd configuration.
If you want to list systemd services use 'systemctl list-unit-files'.
To see services enabled on particular target use
'systemctl list-dependencies [target]'.
Note: Forwarding request to 'systemctl enable sshd.service'.
Note: Forwarding request to 'systemctl enable crond.service'.
Note: Forwarding request to 'systemctl enable messagebus.service'.
Note: Forwarding request to 'systemctl enable irqbalance.service'.
error reading information on service syslog: No such file or directory
Note: Forwarding request to 'systemctl enable rsyslog.service'.
setenforce: SELinux is disabled
fs.file-max = 1000000
net.ipv4.tcp_max_tw_buckets = 6000
net.ipv4.tcp_sack = 1
net.ipv4.tcp_window_scaling = 1
net.ipv4.tcp_rmem = 4096 87380 4194304
net.ipv4.tcp_wmem = 4096 16384 4194304
net.ipv4.tcp_max_syn_backlog = 16384
net.core.netdev_max_backlog = 32768
net.core.somaxconn = 32768
net.core.wmem_default = 8388608
net.core.rmem_default = 8388608
net.core.rmem_max = 16777216
net.core.wmem_max = 16777216
net.ipv4.tcp_timestamps = 1
net.ipv4.tcp_fin_timeout = 20
net.ipv4.tcp_synack_retries = 2
net.ipv4.tcp_syn_retries = 2
net.ipv4.tcp_syncookies = 1
net.ipv4.tcp_tw_reuse = 1
net.ipv4.tcp_mem = 94500000 915000000 927000000
net.ipv4.tcp_max_orphans = 3276800
net.ipv4.ip_local_port_range = 1024 65000
net.nf_conntrack_max = 6553500
net.netfilter.nf_conntrack_max = 6553500
net.netfilter.nf_conntrack_tcp_timeout_close_wait = 60
net.netfilter.nf_conntrack_tcp_timeout_fin_wait = 120
net.netfilter.nf_conntrack_tcp_timeout_time_wait = 120
net.netfilter.nf_conntrack_tcp_timeout_established = 3600
16 Oct 15:25:19 ntpdate[28145]: adjust time server 5.79.108.34 offset -0.002969 sec
Note: Forwarding request to 'systemctl enable iptables.service'.
Redirecting to /bin/systemctl restart iptables.service
Redirecting to /bin/systemctl restart rsyslog.service
Restarting sshd (via systemctl): Connection closing...Socket close.
Loading mirror speeds from cached hostfile
* base: centos.ustc.edu.cn
* extras: mirrors.aliyun.com
* updates: mirrors.cn99.com
No packages marked for update
Note: This output shows SysV services only and does not include native
systemd services. SysV configuration data might be overridden by native
systemd configuration.
If you want to list systemd services use 'systemctl list-unit-files'.
To see services enabled on particular target use
'systemctl list-dependencies [target]'.
Note: Forwarding request to 'systemctl enable sshd.service'.
Note: Forwarding request to 'systemctl enable crond.service'.
Note: Forwarding request to 'systemctl enable messagebus.service'.
Note: Forwarding request to 'systemctl enable irqbalance.service'.
error reading information on service syslog: No such file or directory
Note: Forwarding request to 'systemctl enable rsyslog.service'.
setenforce: SELinux is disabled
fs.file-max = 1000000
net.ipv4.tcp_max_tw_buckets = 6000
net.ipv4.tcp_sack = 1
net.ipv4.tcp_window_scaling = 1
net.ipv4.tcp_rmem = 4096 87380 4194304
net.ipv4.tcp_wmem = 4096 16384 4194304
net.ipv4.tcp_max_syn_backlog = 16384
net.core.netdev_max_backlog = 32768
net.core.somaxconn = 32768
net.core.wmem_default = 8388608
net.core.rmem_default = 8388608
net.core.rmem_max = 16777216
net.core.wmem_max = 16777216
net.ipv4.tcp_timestamps = 1
net.ipv4.tcp_fin_timeout = 20
net.ipv4.tcp_synack_retries = 2
net.ipv4.tcp_syn_retries = 2
net.ipv4.tcp_syncookies = 1
net.ipv4.tcp_tw_reuse = 1
net.ipv4.tcp_mem = 94500000 915000000 927000000
net.ipv4.tcp_max_orphans = 3276800
net.ipv4.ip_local_port_range = 1024 65000
net.nf_conntrack_max = 6553500
net.netfilter.nf_conntrack_max = 6553500
net.netfilter.nf_conntrack_tcp_timeout_close_wait = 60
net.netfilter.nf_conntrack_tcp_timeout_fin_wait = 120
net.netfilter.nf_conntrack_tcp_timeout_time_wait = 120
net.netfilter.nf_conntrack_tcp_timeout_established = 3600
16 Oct 15:25:19 ntpdate[28145]: adjust time server 5.79.108.34 offset -0.002969 sec
Note: Forwarding request to 'systemctl enable iptables.service'.
Redirecting to /bin/systemctl restart iptables.service
Redirecting to /bin/systemctl restart rsyslog.service
Restarting sshd (via systemctl): Connection closing...Socket close.
5 Answers
防火墙关闭,几种安装方式都试过,都会重启,检查了sshd_config配置没有异常,目前发现和之前安装成功的服务器对比就是版本不一样,这个是OpenSSH_7.8p1,准备装OpenSSH_7.5p1试试看。
Please login or Register to submit your answer