Como dito acima, quando eu tento SSH no meu sistema embarcado (uma placa de desenvolvimento De0-Nano-SoC FPGA rodando Angström com Kernel 4.1) eu recebo um erro "Write Failed: Broken Pipe" e fico desconectado. Eu li que isso geralmente está ligado a problemas de rede e timeouts, mas no meu caso isso está acontecendo instantaneamente, então não pode ser um problema de timeout (pode?).
Estou procurando outras soluções para esse problema ou outros problemas que possam causar essa mensagem de erro.
Atualização: A outra direção (SSH do PC incorporado ao host) funciona perfeitamente!
Aqui está a saída de tcpdump | grep cyclone5
, juggernaut é o PC host, cyclone5 o dispositivo incorporado e fritz.box é meu roteador:
16:56:01.080879 IP6 juggernaut.fritz.box.48641 > fritz.box.domain: 3129+ A? cyclone5. (26)
16:56:01.080885 IP6 juggernaut.fritz.box.48641 > fritz.box.domain: 28063+ AAAA? cyclone5. (26)
16:56:01.082341 IP6 juggernaut.fritz.box.59915 > cyclone5.fritz.box.ssh: Flags [S], seq 1263535780, win 28640, options [mss 1432,sackOK,TS val 932516 ecr 0,nop,wscale 7], length 0
16:56:01.083400 IP6 cyclone5.fritz.box.ssh > juggernaut.fritz.box.59915: Flags [S.], seq 983702311, ack 1263535781, win 28400, options [mss 1432,sackOK,TS val 55053 ecr 932516,nop,wscale 7], length 0
16:56:01.083410 IP6 juggernaut.fritz.box.59915 > cyclone5.fritz.box.ssh: Flags [.], ack 1, win 224, options [nop,nop,TS val 932516 ecr 55053], length 0
16:56:01.083528 IP6 juggernaut.fritz.box.59915 > cyclone5.fritz.box.ssh: Flags [P.], seq 1:40, ack 1, win 224, options [nop,nop,TS val 932516 ecr 55053], length 39
16:56:01.084584 IP6 cyclone5.fritz.box.ssh > juggernaut.fritz.box.59915: Flags [.], ack 40, win 222, options [nop,nop,TS val 55053 ecr 932516], length 0
16:56:01.117746 IP6 cyclone5.fritz.box.ssh > juggernaut.fritz.box.59915: Flags [P.], seq 1:22, ack 40, win 222, options [nop,nop,TS val 55056 ecr 932516], length 21
16:56:01.117773 IP6 juggernaut.fritz.box.59915 > cyclone5.fritz.box.ssh: Flags [.], ack 22, win 224, options [nop,nop,TS val 932525 ecr 55056], length 0
16:56:01.118222 IP6 juggernaut.fritz.box.59915 > cyclone5.fritz.box.ssh: Flags [.], seq 40:1460, ack 22, win 224, options [nop,nop,TS val 932525 ecr 55056], length 1420
16:56:01.118415 IP6 juggernaut.fritz.box.59915 > cyclone5.fritz.box.ssh: Flags [P.], seq 1460:2008, ack 22, win 224, options [nop,nop,TS val 932525 ecr 55056], length 548
16:56:01.118667 IP6 cyclone5.fritz.box.ssh > juggernaut.fritz.box.59915: Flags [.], ack 2008, win 253, options [nop,nop,TS val 55056 ecr 932525], length 0
16:56:01.121526 IP6 cyclone5.fritz.box.ssh > juggernaut.fritz.box.59915: Flags [P.], seq 22:934, ack 2008, win 253, options [nop,nop,TS val 55057 ecr 932525], length 912
16:56:01.123158 IP6 juggernaut.fritz.box.59915 > cyclone5.fritz.box.ssh: Flags [P.], seq 2008:2056, ack 934, win 246, options [nop,nop,TS val 932526 ecr 55057], length 48
16:56:01.159565 IP6 cyclone5.fritz.box.ssh > juggernaut.fritz.box.59915: Flags [.], ack 2056, win 253, options [nop,nop,TS val 55061 ecr 932526], length 0
16:56:01.164976 IP6 cyclone5.fritz.box.ssh > juggernaut.fritz.box.59915: Flags [P.], seq 934:1214, ack 2056, win 253, options [nop,nop,TS val 55061 ecr 932526], length 280
16:56:01.167861 IP6 juggernaut.fritz.box.59915 > cyclone5.fritz.box.ssh: Flags [P.], seq 2056:2072, ack 1214, win 261, options [nop,nop,TS val 932538 ecr 55061], length 16
16:56:01.168671 IP6 cyclone5.fritz.box.ssh > juggernaut.fritz.box.59915: Flags [.], ack 2072, win 253, options [nop,nop,TS val 55061 ecr 932538], length 0
16:56:01.168678 IP6 juggernaut.fritz.box.59915 > cyclone5.fritz.box.ssh: Flags [P.], seq 2072:2116, ack 1214, win 261, options [nop,nop,TS val 932538 ecr 55061], length 44
16:56:01.169453 IP6 cyclone5.fritz.box.ssh > juggernaut.fritz.box.59915: Flags [.], ack 2116, win 253, options [nop,nop,TS val 55061 ecr 932538], length 0
16:56:01.169760 IP6 cyclone5.fritz.box.ssh > juggernaut.fritz.box.59915: Flags [P.], seq 1214:1258, ack 2116, win 253, options [nop,nop,TS val 55062 ecr 932538], length 44
16:56:01.169857 IP6 juggernaut.fritz.box.59915 > cyclone5.fritz.box.ssh: Flags [P.], seq 2116:2176, ack 1258, win 261, options [nop,nop,TS val 932538 ecr 55062], length 60
16:56:01.209580 IP6 cyclone5.fritz.box.ssh > juggernaut.fritz.box.59915: Flags [.], ack 2176, win 253, options [nop,nop,TS val 55066 ecr 932538], length 0
16:56:01.491968 IP6 fritz.box.domain > juggernaut.fritz.box.49687: 37977* 1/1/3 PTR cyclone5.fritz.box. (208)
16:56:03.119066 IP6 cyclone5.fritz.box.ssh > juggernaut.fritz.box.59915: Flags [P.], seq 1258:1334, ack 2176, win 253, options [nop,nop,TS val 55256 ecr 932538], length 76
16:56:03.119134 IP6 juggernaut.fritz.box.59915 > cyclone5.fritz.box.ssh: Flags [P.], seq 2176:2252, ack 1334, win 261, options [nop,nop,TS val 933025 ecr 55256], length 76
16:56:03.119954 IP6 cyclone5.fritz.box.ssh > juggernaut.fritz.box.59915: Flags [.], ack 2252, win 253, options [nop,nop,TS val 55257 ecr 933025], length 0
16:56:03.122701 IP6 cyclone5.fritz.box.ssh > juggernaut.fritz.box.59915: Flags [P.], seq 1334:1394, ack 2252, win 253, options [nop,nop,TS val 55257 ecr 933025], length 60
16:56:03.159841 IP6 juggernaut.fritz.box.59915 > cyclone5.fritz.box.ssh: Flags [.], ack 1394, win 261, options [nop,nop,TS val 933036 ecr 55257], length 0
16:56:11.034026 IP6 juggernaut.fritz.box.59915 > cyclone5.fritz.box.ssh: Flags [P.], seq 2252:2328, ack 1394, win 261, options [nop,nop,TS val 935004 ecr 55257], length 76
16:56:11.069809 IP6 cyclone5.fritz.box.ssh > juggernaut.fritz.box.59915: Flags [.], ack 2328, win 253, options [nop,nop,TS val 56052 ecr 935004], length 0
16:56:11.165970 IP6 cyclone5.fritz.box.ssh > juggernaut.fritz.box.59915: Flags [P.], seq 1394:1438, ack 2328, win 253, options [nop,nop,TS val 56061 ecr 935004], length 44
16:56:11.165983 IP6 juggernaut.fritz.box.59915 > cyclone5.fritz.box.ssh: Flags [.], ack 1438, win 261, options [nop,nop,TS val 935037 ecr 56061], length 0
16:56:11.166024 IP6 juggernaut.fritz.box.59915 > cyclone5.fritz.box.ssh: Flags [P.], seq 2328:2404, ack 1438, win 261, options [nop,nop,TS val 935037 ecr 56061], length 76
16:56:11.166816 IP6 cyclone5.fritz.box.ssh > juggernaut.fritz.box.59915: Flags [.], ack 2404, win 253, options [nop,nop,TS val 56061 ecr 935037], length 0
16:56:11.167921 IP6 cyclone5.fritz.box.ssh > juggernaut.fritz.box.59915: Flags [P.], seq 1438:1466, ack 2404, win 253, options [nop,nop,TS val 56061 ecr 935037], length 28
16:56:11.167985 IP6 juggernaut.fritz.box.59915 > cyclone5.fritz.box.ssh: Flags [P.], seq 2404:2508, ack 1466, win 261, options [nop,nop,TS val 935038 ecr 56061], length 104
16:56:11.173648 IP6 cyclone5.fritz.box.ssh > juggernaut.fritz.box.59915: Flags [R.], seq 1466, ack 2508, win 253, options [nop,nop,TS val 0 ecr 935038], length 0