While i'm writing this document i found a bug while i was trying to connect to my embedded via ssh. The problem is that by default some device nodes are not created. You need to create them by yourself:
# mknod /dev/ptmx c 5 2 # chmod 666 /dev/ptmx # mkdir /dev/pts |