修改ssh配置文件
vim /etc/ssh/sshd_config
将PasswordAuthentication参数值修改为no: PasswordAuthentication no
重启ssh 服务
systemctl restart sshd.service
修改ssh配置文件
vim /etc/ssh/sshd_config
将PasswordAuthentication参数值修改为no: PasswordAuthentication no
重启ssh 服务
systemctl restart sshd.serviceCONTINUE READING
从当前主题出发,浏览更多相关实践与技术记录。