I was wondering, I want to create a SSH server and a client with custom commands.
I thought of using Twisted for it, but I did not go well with the docs.
I decided to use Paramiko, but I wonder, is there any way to create a Paramiko server? Or only client?
Another question, let’s say you can only create a client, can I create the client in Paramiko and the server using the socket module and connect to it? Is this possible?
If so, any advice?
Thanks in advance
I was wondering, I want to create a SSH server and a client with
Share
Yes, Paramiko can be used both as an SSH client and server; see paramiko.Transport.start_server to get started.
If you go back and revisit Twisted, twisted.conch also implements SSH.