Linux 关闭/开启密码登录(仅证书登录)
vim /etc/ssh/sshd_config
修改 PasswordAuthentication yes/no
重启服务 service sshd restart
当然,前提是你能登入;
重启服务
systemctl restart sshd
vim /etc/ssh/sshd_config
修改 PasswordAuthentication yes/no
重启服务 service sshd restart
当然,前提是你能登入;
重启服务
systemctl restart sshd