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">&lt;<a href="mailto:gelonida@gmail.com" target="_blank">gelonida@gmail.com</a>&gt;</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>
&gt;<br>
&gt;<br>
&gt; On Sat, Aug 4, 2012 at 3:23 PM, Gelonida N &lt;<a href="mailto:gelonida@gmail.com">gelonida@gmail.com</a><br>
</div><div><div class="h5">&gt; &lt;mailto:<a href="mailto:gelonida@gmail.com">gelonida@gmail.com</a>&gt;&gt; wrote:<br>
&gt;<br>
&gt;     Hi,<br>
&gt;<br>
&gt;     I just wanted to be sure, whether anybody has a small example snippet of<br>
&gt;     a twisted ssh server with public key authentification.<br>
&gt;<br>
&gt;<br>
&gt; So, um, simple? Not sure if I can help you there ;-) This was simple at<br>
&gt; one point, when it was part of an IRC logging bot that offered an SSH<br>
&gt; shell (manhole) to manipulate live objects, but it has since been split<br>
&gt; out into its own project:<br>
&gt; <a href="https://github.com/dreamhost/dreamssh" target="_blank">https://github.com/dreamhost/dreamssh</a><br>
&gt;<br>
&gt; Best case scenario, it provides what you need.<br>
&gt;<br>
&gt; Worst case scenario, you can fork it and remove all the crap that you<br>
&gt; don&#39;t need ;-)<br>
&gt;<br>
&gt; Note that dreamssh provides the Twisted-standard manhole interpreter, as<br>
&gt; well as a custom &quot;echo&quot; interpreter, intended to offer an example of how<br>
&gt; to create your own ssh shell (I&#39;ve started using this in a text-based<br>
&gt; adventure game, with the ultimate goal of using it as the interface for<br>
&gt; a Twisted-base MUD).<br>
<br>
<br>
<br>
</div></div>Thanks Duncan,<br>
<br>
I&#39;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>