No.1: sestatus
No.1: vi /etc/selinux/config
No.1: sestatus
No.1: vi /etc/ssh/sshd_config
No.1: firewall-cmd --permanent --zone=public --add-port=1107/tcp 1107 根據要登入的端口而定 yum install firewalld systemctl start firewalld
No.1: firewall-cmd --reload
No.1: firewall-cmd --permanent --query-port=1107/tcp 1107 根據要登入的端口而定
No.1: systemctl restart sshd.service