I am trying to create a secure chat server using python, and after many hours of hunting all I have found is that I have to use SSH and that Paramiko seems to be the best python module for it (maybe I'm wrong) I canβt understand how to implement this, and being completely new to Python, the documents were a little deep for me, especially since I really didnβt know what to look for!
Any links to sample code are welcome, especially regarding the server (it looks like hundreds of examples of connecting to an ssh server, but no one creates them - did I miss something vital here? I heard that it is possible to create an ssh server in python, but the apparent lack of code on the Internet bothers me)
thanks
EDIT:
My ultimate goal is to create a secure chat client with python, and I would like to keep it as simple as possible, however security is the main goal. I saw and made several chat clients in the recent past, but they demanded that telnet connect to them, so they were unsafe, I want to fix it.
source share