ubuntu 中设置 root登录filezilla


 

001、问题

ubuntu 中设置 root登录filezilla

 

 

002、修改配置文件

root@ubuntu01pc1:~# vim /etc/ssh/sshd_config    ## 打开该配置文件,将PermitRootLogin 改为yes
…………
…………
# Logging
#SyslogFacility AUTH
#LogLevel INFO

# Authentication:

#LoginGraceTime 2m
PermitRootLogin yes                       ## 此处改为yes,并去掉注释符号
#StrictModes yes
#MaxAuthTries 6
…………
…………

ubuntu 中设置 root登录filezilla

 

 

003、重启ssh服务

root@ubuntu01pc1:~# /etc/init.d/ssh restart       ## 重启ssh服务
Restarting ssh (via systemctl): ssh.service.

 

004、测试

可以登录了。

 

原创文章,作者:ItWorker,如若转载,请注明出处:https://blog.ytso.com/tech/aiops/279506.html

(0)
上一篇 2022年8月8日 11:02
下一篇 2022年8月8日 11:03

相关推荐

发表回复

登录后才能评论