Ubuntu18.04系统如何禁用密码登录
发布时间:2023-1-11 14:54:57 来源: 纵横云
Ubuntu18.04系统如何禁用密码登录
在ubuntu18.04中如何禁用密码登录呢?本文给出详细说明。
1.打开sshd_config文件
vi /etc/ssh/sshd_config

2.将#PasswordAuthentication yes改为PasswordAuthentication no后保存退出

本文来源:
https://www.zonghengcloud.com/article/9219.html
[复制链接]
链接已复制