yum -y install openssh-server systemctl start sshd systemctl status sshd(查看启动状态) systemctl enable sshd(系统自动启动)