MyFPGA Forum
标题:
【FAQ】测试image传输文件的时候提示Broken pipe lost connection
[打印本页]
作者:
Doreen
时间:
2021-8-10 12:23
标题:
【FAQ】测试image传输文件的时候提示Broken pipe lost connection
本帖最后由 Doreen 于 2021-8-10 14:16 编辑
Q
: 测试DE10-Nano 板子自带的 XFCE image 或者是 LXDE image 的时候 ,设置账号密码步骤如下:
- PasswordAuthentication yes
- PermitRootLogin yes
- and set a login password for user root
然后板子可以ping 通 PC, 但是就是没办法传输文件, 提示:client_loop: send disconnect: Broken pipe lost connection
A
: 请直接按照
http://www.myfpga.org/discuz/for ... &extra=page%3D1
里面的步骤测试即可,直接用简单的命令passwd 去设置密码,而不要去修改sshd_config,原因如下:
1. PasswordAuthentication Yes -> 这个预设值是Yes,因此是非必要的。
2. ChallengeResponseAuthentication Yes -> 这个选项一般用于PAM (Pluggable Authentication Module),但是这个image 是精简系统,沒有包含PAM的相关功能、设定,因此修改这设定会触发 PAM: pam_setcred(): Failure setting user credentials ,而导致连接错误。
欢迎光临 MyFPGA Forum (http://www.myfpga.org/discuz/)
Powered by Discuz! X3