centos开启ssh服务

xiaoxiao2021-02-28  108

1.查看是否安装ssh服务 rpm -qa | grep ssh  2.安装ssh服务 yum install openssh-server  3.重启/启动/停止ssh ervice sshd restart / start / stop  /etc/init.d/ssh start  4.查看是否启动成功 netstat -antp | grep sshd 端口22是否启动  5.设置开启启动 /禁止 chkconfig sshd on / off
转载请注明原文地址: https://www.6miu.com/read-18452.html

最新回复(0)