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

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

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