MyFPGA Forum

 找回密码
 注册
搜索
查看: 1403|回复: 0
打印 上一主题 下一主题

【FAQ】测试image传输文件的时候提示Broken pipe lost connection

[复制链接]
跳转到指定楼层
1#
发表于 2021-8-10 12:23:35 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
本帖最后由 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 ,而导致连接错误。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|MyFPGA

GMT+8, 2024-5-2 10:11 , Processed in 0.037334 second(s), 15 queries .

Powered by Discuz! X3

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表