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@SQA-ip6-tester:~$ sftp -6 root@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx > Password: > Received message too long 1400136052 > jeff@SQA-ip6-tester:~$ > > > The error also occurs with IPv4 > > jeff@SQA-ip6-tester:~$ sftp -4 root@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx > 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@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@xxxxxxxxxxx > https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev > _______________________________________________ openssh-unix-dev mailing list openssh-unix-dev@xxxxxxxxxxx https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev