On Thu, Nov 12, 2015 at 10:28:27AM +0100, Zbynek Michl wrote: > Hello, > > I have a problem with SSH connection from my Ubiquiti AirOS device to > a Mikrotik router. > I use AirOS v5.5.11 (Dropbear SSH client v2013.58) and Mikrotik's > RouterOS version 6.33 (also older versions have the same problem). > > # ssh d...@demo.mt.lv > ssh: Connection to d...@demo.mt.lv:22 exited: Integrity error (bad > packet size -22146333)
It looks like ROSSH doesn't support "kex first follows". Commenting out USE_KEX_FIRST_FOLLOWS in sysoptions.h will fix that. Could you report it to Mikrotik? Github used libssh which had the same issue, fixed in libssh 0.7 Cheers, Matt