yum install openssh-server检查SSH服务是否为开机启动chkconfig --list sshd 设置开机启动SSH服务chkconfig --level 2345 sshd on重新启动下SSH服务service sshd restart