Hi, <div><br></div><div>perhaps our project code could help with the insight:</div><div><br></div><div>Creation of the SSH server: <a href="https://github.com/opennode/opennode-management/blob/master/opennode/oms.tac#L26">https://github.com/opennode/opennode-management/blob/master/opennode/oms.tac#L26</a></div>
<div>Definition of the checker: <a href="https://github.com/opennode/opennode-management/blob/master/opennode/oms/security/authentication.py#L65">https://github.com/opennode/opennode-management/blob/master/opennode/oms/security/authentication.py#L65</a></div>
<div><br></div><div>cheers,</div><div>Ilja<br><br><div class="gmail_quote">On 6 August 2012 10:30, Gelonida N <span dir="ltr"><<a href="mailto:gelonida@gmail.com" target="_blank">gelonida@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On 08/05/2012 01:59 AM, Duncan McGreggor wrote:<br>
><br>
><br>
> On Sat, Aug 4, 2012 at 3:23 PM, Gelonida N <<a href="mailto:gelonida@gmail.com">gelonida@gmail.com</a><br>
</div><div><div class="h5">> <mailto:<a href="mailto:gelonida@gmail.com">gelonida@gmail.com</a>>> wrote:<br>
><br>
> Hi,<br>
><br>
> I just wanted to be sure, whether anybody has a small example snippet of<br>
> a twisted ssh server with public key authentification.<br>
><br>
><br>
> So, um, simple? Not sure if I can help you there ;-) This was simple at<br>
> one point, when it was part of an IRC logging bot that offered an SSH<br>
> shell (manhole) to manipulate live objects, but it has since been split<br>
> out into its own project:<br>
> <a href="https://github.com/dreamhost/dreamssh" target="_blank">https://github.com/dreamhost/dreamssh</a><br>
><br>
> Best case scenario, it provides what you need.<br>
><br>
> Worst case scenario, you can fork it and remove all the crap that you<br>
> don't need ;-)<br>
><br>
> Note that dreamssh provides the Twisted-standard manhole interpreter, as<br>
> well as a custom "echo" interpreter, intended to offer an example of how<br>
> to create your own ssh shell (I've started using this in a text-based<br>
> adventure game, with the ultimate goal of using it as the interface for<br>
> a Twisted-base MUD).<br>
<br>
<br>
<br>
</div></div>Thanks Duncan,<br>
<br>
I'll look into it, but it defeinitely sounds like a good starting point<br>
(looking at the project description)<br>
<div class="HOEnZb"><div class="h5"><br>
<br>
<br>
<br>
<br>
_______________________________________________<br>
Twisted-Python mailing list<br>
<a href="mailto:Twisted-Python@twistedmatrix.com">Twisted-Python@twistedmatrix.com</a><br>
<a href="http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python" target="_blank">http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python</a><br>
</div></div></blockquote></div><br></div>