rpm -qa | grep ssh
yum install openssh-server 安装ssh
service sshd start netstat -ntpl | grep 22 查看端口是否打开
vi /etc/ssh/sshd_config
ssh root@192.168.98.128(centos7IP)