[Twisted-Python] some competition and hopefully inspiration for conch

Adi Roiban adi at roiban.ro
Thu Jul 17 03:34:10 MDT 2014


Hi,

On 17 July 2014 00:40, Glyph Lefkowitz <glyph at twistedmatrix.com> wrote:

> There's a new Python-based asynchronous SSH client and server in town:
>
> <http://asyncssh.timeheart.net/#>
>
>
> This looks to have a much more straightforward API and *way* better
> documentation than Conch, although it's of course python 3.4+ only and
> lacks many of Conch's sophisticated (if somewhat idiosyncratic) terminal
> handling features.
>
> I hope that this project will spur a little friendly competition from
> Conch's maintainers, such as we are :-).
>
>
How did you found this project? I could not find it on PyPi and I failed to
find any information about how to contribute to the project... I did sent
an email to the author.

I could not find a suite of automated tests.  I hope that asyncssh is
willing to compete with Twisted Conch SSH and improve on this :)

I only looked quickly over the server examples but I am a bit worried about
the SSH key auth example and how SSH key validation is done .. or not done.

I prefer Conch API. For example I don't know what to say about asyncssh
begin_auth()  method, which when it returns True, it cause the
authentication to be skipped... I would prefer a name like
should_ignore_authentication... or something which describes better why and
how it should be used.

http://asyncssh.timeheart.net/api.html#asyncssh.SSHServer.begin_auth

Conch source code is very readable (for it's size and age) and I manage to
put it into use just by reading the code and docstrings/API docs.

I started to learn Conch with examples from Stack Overflow and I remember
that Jean-Paul was very active there.... so mabye conch documentation can
be improved by importing some of those examples.

Contributing to Twisted is a PITA so I guess that for some people
(companies) this is a good reason to start a new (single protocol targeted)
project.( ex Tornado).

At this stage, asyncssh does not have a better public development process.


Cheers,

-- 
Adi Roiban
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/twisted-python/attachments/20140717/31463c6c/attachment-0002.html>


More information about the Twisted-Python mailing list