在ssh_config里禁用密码登录无意义
imba-tjd opened this issue · comments
https://shanyue.tech/op/init.html#禁用密码登录
ssh_config
是客户端配置。改sshd_config
才对
恩,我好像写的就是 sshd_config
# 编辑服务器端的 /etc/ssh/sshd_config
# 禁用密码登录
Host *
PasswordAuthentication no
在这里写一些工作中遇到的前端,后端以及运维的问题
imba-tjd opened this issue · comments
https://shanyue.tech/op/init.html#禁用密码登录
ssh_config
是客户端配置。改sshd_config
才对
恩,我好像写的就是 sshd_config
# 编辑服务器端的 /etc/ssh/sshd_config
# 禁用密码登录
Host *
PasswordAuthentication no