SecureCRT 连接 Centos7 新手遇到的问题

Centos7下安装yum install net-tools  就可以使用ifconfig命令

centos7安装ssh服务

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、安装缺失的软件:

sudo yum install openssh*

3、注册使用服务:

sudo systemctl enable sshd  
sudo systemctl start sshd 或者
service sshd start 
发布了4 篇原创文章 · 获赞 2 · 访问量 97

猜你喜欢

转载自blog.csdn.net/qq_45452081/article/details/105242122