一、安装opensshcentos
#yum install -y openssh
二、安装openssh-serverssh
#yum install -y openssh-server
三、安装openssh-clientscentos7
#yum install -y openssh-clients
四、centos7 启动opensshcode
#systemctl start sshd.services
centos6 启动opensshserver
#/etc/init.d/sshd start
centos7 的启动没有/etc/init.d/sshd 只有 /etc/init.d/README it
/etc/init.d/README 中描述了,cnetos7 要用systemctl 启动cli