开始root可以用putty连接上去了,普通用户却不行。
最后发现是sshd_config的配置问题,需要StrictModes no。
现在基本上搞定了,最后的sshd_config配置:
PermitRootLogin yes
StrictModes no
PubkeyAuthentication yes
AuthorizedKeysFile .ssh/authorized_keys
延伸阅读
文章来源于领测软件测试网 https://www.ltesting.net/










