MockSSH
MockSSH copied to clipboard
Mock an SSH server and define all commands it supports (Python, Twisted)
Bumps [twisted](https://github.com/twisted/twisted) from 16.7.0rc2 to 22.4.0. Release notes Sourced from twisted's releases. Twisted 22.4.0 (2022-04-11) Features twisted.python.failure.Failure tracebacks now capture module information, improving compatibility with the Raven Sentry client. (#7796)...
Bumps [paramiko](https://github.com/paramiko/paramiko) from 2.1.1 to 2.10.1. Commits 286bd9f Cut 2.10.1 4c491e2 Fix CVE re: PKey.write_private_key chmod race aa3cc6f Cut 2.10.0 e50e19f Fix up changelog entry with real links 02ad67e Helps...
While build with python 3 and execution of tests: `TypeError: Class advice impossible in Python3. Use the @implementer class decorator instead.` Also, I'll send a pull request to support python3...
it would be great if you can add in the support for execCommand below is the output from git diff ~~~ diff --git a/MockSSH.py b/MockSSH.py index e5f5113..18af0bf 100755 --- a/MockSSH.py...
How do I leverage the private.key that MockSSH generates to authenticate using key-exchange instead of password? There's probably something obvious that I'm misunderstanding, but so far I'm stumped. I tried...
We need unit tests. For starters here are a some unit tests that are also using SSH: - https://github.com/simon-engledew/sshim/tree/master/tests - https://github.com/fabric/fabric/blob/master/tests/server.py - https://sourcegraph.com/github.com/softlayer/swftp/tree/master/swftp%2Ftest%2Ffunctional%2Ftest_sftp.py
Hi. Love the idea, could you please package it for pypi? If you want an easy way, this tool could help: https://github.com/Infinidat/infi.projector
All commands can and should be validating arguments. Commands requiring no argument should be considered "validly typed" if their arguments are None. With this in mind and as ArgumentValidatingCommand is...
Bumps [paramiko](https://github.com/paramiko/paramiko) from 2.1.1 to 3.4.0. Commits f0881ba Cut 3.4.0 3e4bdf9 Changelog/comment updates 30b447b Linting 33508c9 Expand MessageOrderError use to handle more packet types 96db1e2 Raise exception when sequence numbers...