centos7最新的openssh的安装执行命令yum-y--disablerepo=\*localinstall*.rpm/bin/cp-f/etc/ssh/sshd_config.rpmnew/etc/ssh/sshd_configsed-i"s/.*PermitRootLogin.*/PermitRootLoginyes/"/etc/ssh/sshd_configchmod600-R/etc/ssh/systemctlrestartsshd