Ed Sutter <ed.sutter <at> alcatel-lucent.com>
2013-04-15 16:19:49 GMT
I've got what I think is a reasonably stable version of dropbear's SSH
in a non-posix, thread-based embedded system. I'd like to review the
made for anyone that may be considering doing this, but also to see if
get raised by the folks that have been using this for a while.
Since I don't really know if there's much interest in this within the
group, I'll skip
a lot of detail for this pass and just note the main points. Then if it
turns out that
this is of interest we can dig in more (and I'll probably learn
- A single ssh login at any given time, to connect to an embedded
command line interface
(no shell, no processes, no posix, etc..).
- Running a small kernel that supports threads;
- Using GCC for powerpc.
- I assume very little about any OS support for anything other than libc
(in my case I do
have an embedded FS, but that's easily bypassed). In other words: no
no fork(), no exec(), no pipes, etc.. This includes no use of
fprintf(...) as well.