wiki:DebugBuild

introduction

If your image find the rootfs, and that you can ping the device

echo "#!/bin/sh" >> ${ROOTFS}/etc/rc5.d/S08netcat
echo "nc -l -p 8022 -e /bin/ash &" >> ${ROOTFS}/etc/rc5.d/S08netcat
chmod +x ${ROOTFS}/etc/rc5.d/S08netcat

Then boot the image and wait, then:

ifconfig usb0 192.168.7.1
ping 192.168.7.2
nc 192.168.7.2 8022