Jeff Silverman
2016-Aug-23 20:45 UTC
sftp fails with error Received message too long 140013605
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
Aris Adamantiadis
2016-Aug-24 20:19 UTC
sftp fails with error Received message too long 140013605
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 >
Damien Miller
2016-Sep-14 20:51 UTC
sftp fails with error Received message too long 140013605
On Tue, 23 Aug 2016, 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:[snip]> I did some googling, and I found > http://askubuntu.com/questions/369830/sftp-connection-failed-strange-e > rror-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!I'd like to, but most of it was so rotted by the passage of time as to make the document useless. If someone wanted to collect a good set of FAQs that are current and relevant then I'll see about getting it committed to the website. -d PS. sorry for delay in responding