centos7.0 服務器去掉私鑰設置

編輯配置文件linux

sudo vi /etc/ssh/sshd_config

修改PasswordAuthentication 的值爲truessh

PasswordAuthentication true

重啓ssh服務rest

sudo systemctl restart sshd.service
相關文章
相關標籤/搜索