【六袆 - 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
登录成功
恭喜你,今天又解决了一个问题,奥力给!给自己点个赞👇 👇 👇~
本文来自博客园,作者:你好,Alf,转载请注明原文链接:https://www.cnblogs.com/Alf-/p/16192791.html