【六袆 - linux】统信UOS系统;SSH服务连接不上解决方案;SSH服务连接;

 

 

 

ssh服务相关命令

#启动SSH服务
sudo /etc/init.d/ssh start



#查看服务是否已启动
ps -e | grep ssh

 

解决远程连接不上问题

修改SSH配置文件

vim /etc/ssh/sshd_config
修改前:
# Authentication:

#LoginGraceTime 2m
#PermitRootLogin prohibit-password
#StrictModes yes





修改后:

# Authentication:

LoginGraceTime 2m
PermitRootLogin yes
StrictModes yes

 

 

重启ssh服务

sudo service ssh restart

 

 

 

 

  

登录成功

 

恭喜你,今天又解决了一个问题,奥力给!给自己点个赞👇 👇 👇~

posted @ 2022-04-26 00:53  你好,Alf  阅读(192)  评论(0编辑  收藏  举报