sudo yum install openssh*
sudo systemctl disable firewalld
sudo systemctl restart sshd
4.设置为开机自启动
sudo systemctl enable sshd
ends…