首页>云服务器问答/资讯>Ubuntu18.04系统如何禁用公钥登录

Ubuntu18.04系统如何禁用公钥登录

发布时间:2023/1/11 14:22:29

Ubuntu18.04系统如何禁用公钥登录

在ubuntu18.04中如何禁用公钥登录呢?本文给出详细说明。

1.打开sshd_config文件

vi /etc/ssh/sshd_config

Ubuntu18.04系统如何禁用公钥登录-1300

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

Ubuntu18.04系统如何禁用公钥登录-1301

在线客服
微信公众号
免费拨打0592-5580190
免费拨打0592-5580190 技术热线 0592-5580190 或 18950029502
客服热线 17750597993
返回顶部
返回头部 返回顶部