标签:mct tty 防火墙 tar 安装 nbsp ble art star
1、查看是否安装了相关软件:
rpm -qa|grep -E "openssh"
显示结果含有以下三个软件,则表示已经安装,否则需要安装缺失的软件
openssh-ldap-6.6.1p1-35.el7_3.x86_64
openssh-clients-6.6.1p1-35.el7_3.x86_64
openssh-6.6.1p1-35.el7_3.x86_64
openssh-askpass-6.6.1p1-35.el7_3.x86_64
openssh-server-6.6.1p1-35.el7_3.x86_64
openssh-keycat-6.6.1p1-35.el7_3.x86_64
openssh-server-sysvinit-6.6.1p1-35.el7_3.x86_64
2、安装openssh-server:
sudo yum install openssh*
3、注册使用服务:
sudo systemctl enable sshd
sudo systemctl start sshd
or: sudo service sshd start
4、打开防火墙的22端口
sudo firewall-cmd --zone=public --add-port=22/tcp --permanet
sudo service firewalld restart
标签:mct tty 防火墙 tar 安装 nbsp ble art star
原文地址:http://www.cnblogs.com/SciProgrammer/p/7818770.html