sftp fails with error Received message too long 140013605

Aris Adamantiadis aris at 0xbadc0de.be
Thu Aug 25 06:19:12 AEST 2016


Hi Jeff,

>>> hex(1400136052)[2:].decode("hex")
'Stat'

Looks like sftp is sending an error message that starts with "Stat". You
may try to manually reproduce this with ssh -s sftp.

Aris

On 23/08/16 22:45, Jeff Silverman wrote:
> Hi.  When I try to sftp to a client, which is an embedded Internet of Thing (IoT) system, I get the following error:
>
> jeff at SQA-ip6-tester:~$ sftp -6 root at SpeedwayR-10-28-25.sqa.impinj.com
> Password:
> Received message too long 1400136052
> jeff at SQA-ip6-tester:~$
>
>
> The error also occurs with IPv4
>
> jeff at SQA-ip6-tester:~$ sftp -4 root at SpeedwayR-10-28-25.sqa.impinj.com
> Warning: Permanently added the ECDSA host key for IP address '172.31.14.164' to the list of known hosts.
> Password:
> Received message too long 1400136052
> jeff at SQA-ip6-tester:~$
>
> I did some googling, and I found http://askubuntu.com/questions/369830/sftp-connection-failed-strange-error-messsage which says that I should look at  http://www.openssh.org/faq.html#2.9), which now 404s. I looked through the wayback machine.  On April 23rd 2016, it did a 302 redirect which failed.  I did find it at https://web.archive.org/web/20160203202936/http://www.openssh.com/faq.html<https://web.archive.org/web/20160203202936/http:/www.openssh.com/faq.html>  I followed the instructions and got some text, which I assume is the source of my problems.
>
> Please bring the FAQ back - it is useful!
>
>
> Jeff
>
>
>
>
>
>
>
>
>
>
>
>
> _______________________________________________
> openssh-unix-dev mailing list
> openssh-unix-dev at mindrot.org
> https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev
>



More information about the openssh-unix-dev mailing list