解决方法:生成公钥和私钥,以下两条命令二选一
1sudo dpkg-reconfigure openssh-server
2sudo ssh-keygen -t ecdsa -f /etc/ssh/ssh_host_ecdsa_key
用到的其他命令如下:
service ssh status查看ssh服务的状态
service ssh stop停止ssh服务
service ssh start启动ssh服务
如果觉得《PUTTY登录树莓派Network error:Software caused connection abort》对你有帮助,请点赞、收藏,并留下你的观点哦!