Ubuntu18.04系統(tǒng)如何禁用密碼登錄
時間:2024/5/21 9:59:24 來源:米安網(wǎng)絡 作者:云主機配置專家 點擊:241次
在ubuntu18.04中如何禁用密碼登錄呢?本文給出詳細說明。
1.打開sshd_config文件
vi /etc/ssh/sshd_config
2.將#PasswordAuthentication yes改為PasswordAuthentication no后保存退出
版權保護: 本文「Ubuntu18.04系統(tǒng)如何禁用密碼登錄」由 云主機配置專家 原創(chuàng),轉載請保留鏈接: http://www.iqcg.cn/docs/system/782.html