ssh Ubuntu14报错read from socket failed:Connection reset by peer (read from socket failed:连接被对端重置)

Table of Contents

报错

排查

在源端进行ssh操作时 在目标端持续查看ssh日志
tail -f /var/log/auth.log ###Ubuntu ssh日志

PermitRootLogin without-password 只允许使用公钥进行身份验证的root用户通过SSH登录
/etc/ssh/文件正确的权限截图