centos7安装sshd
yum install -y openssl openssh-server
yum install openssh*
systemctl enable sshd
systemctl start sshd
service sshd start
sudo firewall-cmd --zone=public --add-port=22/tcp --permanent
yum install -y openssl openssh-server
yum install openssh*
systemctl enable sshd
systemctl start sshd
service sshd start
sudo firewall-cmd --zone=public --add-port=22/tcp --permanent