ssh 常见问题累积...

xiaoxiao2021-02-28  152

1、SSH error:a public key file has not been specified by this session

很可能是SSH客户端没有开启密码验证,或者SSH服务端不允许密码验证。

服务端开启密码验证的方法:修改/etc/ssh/sshd_config的PasswordAuthentication项为yes,

重启服务($service sshd restart)

转载请注明原文地址: https://www.6miu.com/read-23211.html

最新回复(0)