[Twisted-Python] how to run ckeygen

Thomas Anderson zelnaga at gmail.com
Sat Jan 9 10:03:28 MST 2021


I did "pip install twisted" and it seemed to install okay.

Now I'm trying to get
https://twistedmatrix.com/documents/current/_downloads/9620a18fe21cabe0de79cc9c0efe1043/sshsimpleserver.py
running locally. To do so it says I need to first do "ckeygen -t rsa -f
ssh-keys/ssh_host_rsa_key". ssh-keygen is a command that's commonly
available on Linux systems but ckeygen...  that appears to be a twisted
thing. When I try to run that on Ubuntu I get a "-bash: ckeygen: command
not found" error.

Maybe there's a ckeygen.py file that I need to be running but if so idk
where it is. Maybe if I did I could rename it to ckeygen and then copy it
to /usr/bin or whatever and run it from there but idk.

Thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/twisted-python/attachments/20210109/c3d0d110/attachment.htm>


More information about the Twisted-Python mailing list