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

posted on 2018-10-16 00:39  794536524  阅读(6252)  评论(0编辑  收藏  举报