一、安裝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