Ubuntu18.04系统如何禁用公钥登录
在ubuntu18.04中如何禁用公钥登录呢?本文给出详细说明。
1.打开sshd_config文件
vi /etc/ssh/sshd_config

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

1.打开sshd_config文件
vi /etc/ssh/sshd_config

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