- 连接过程,不详细赘述:参考文件:树莓派和电脑文件夹传输
- 坑及解决方案
坑1:Network error: Connection refused错误
解决:各种IP端口都是正确的,此时要去查看ssh是否开启
service sshd status
我查看得到,ssh 开启失败。failed
下面开启ssh:
service sshd start
如果actived,则开启成功,可以连接了,但是我出现问题
坑2:
Job for ssh.service failed because the control process exited with error codesee systemctl status ssh.service and journalctl -xe for details.
解决:查看ssh文件:
<