Weird, I meant to do my last post in reply to this, sorry it isn't inline correctly.
Thanks - I now see that you implemented the ssh server functionality yourself. I am now busy reading the source code for HeavyThing including the code relating to SSH.