mock-ssh-server
mock-ssh-server copied to clipboard
Python mock SSH server for testing purposes
For test purposes, I tried to use `rsync` to transfer files but it always hang. I printed the log and found it was stuck when `rsync` tried to call ssh...
Useful for those of us who sometimes have password credentials. I don't know how close this would be to a viable solution, but I wanted to run it by you...
Since I'm currently trying to write a test harness for some legacy ssh scripts with the basic idea `cat long-input-file | ssh remotehost process.sh`, I'm really happy that mockssh just...
I am not sure if there is an explicit windows support (since the CI only tests Linux), but when executing commands it fails with this error; ``` INFO asyncssh:logging.py:79 [conn=0,...
It would be really if the `mockssh.Server` could support authenticating with other methods as well (primarily passwords).
I occasionally get: ```python Exception in thread Thread-9: Traceback (most recent call last): File "/usr/lib/python3.7/threading.py", line 926, in _bootstrap_inner self.run() File "/usr/lib/python3.7/threading.py", line 870, in run self._target(*self._args, **self._kwargs) File "/home/suor/.virtualenvs/dvc/lib/python3.7/site-packages/mockssh/server.py",...
Hi, So this will unfortunately be a PR from a branch I'm working on which will contain various separate changes. So first of all sorry for not creating separate pull...
Many commands such as *git-receive-packs* do not fit the 'run and get all output' model that it is offered through the Python's `Popen.communicate()` API. Such commands exchange messages with the...
The README references `@yield_fixture()`, this has been deprecated since pytest 3, which came out in 2016.
Hi, I'm using mock-ssh-server v0.9.1 + `sample-user:sample-user-key` for port forwarding. I receive the following error: **Sech channel 0 open FAILED: Administratively prohibited**. How to configure mock to allow TCP PORT...