PUTTY登录树莓派Network error:Software caused connection abort

 解决方法:生成公钥和私钥,以下两条命令二选一

        1    sudo dpkg-reconfigure openssh-server

        2    sudo ssh-keygen -t ecdsa -f /etc/ssh/ssh_host_ecdsa_key

    用到的其他命令如下:

            service ssh status        查看ssh服务的状态

            service ssh stop        停止ssh服务

            service ssh start        启动ssh服务
 

猜你喜欢

转载自blog.csdn.net/wzl19910916/article/details/95937417