摘要: 新购买的Ubuntu服务器,默认禁用了root账户,如果想启用root账户的公钥登录,请使用以下方法: vi /etc/ssh/sshd_config # 编辑ssh配置文件 PermitRootLogin yes # 把PermitRootLogin prohibit-password 改为 Pe 阅读全文
posted @ 2023-02-14 23:18 江南烟雨梦 阅读(875) 评论(0) 推荐(1) 编辑