SSHLibrary
SSHLibrary copied to clipboard
Robot Framework test library for SSH and SFTP
This pull request adds the ability to pass `disabled_algorithms` when connecting. Helped me connect to a legacy ssh server. `disabled_algorithms` are passed as a dictionary like in paramiko {'pubkeys': ['rsa-sha2-256',...
Add a read buffer to improve performance of read_until and derived functions. Should fix https://github.com/robotframework/SSHLibrary/issues/425 - I used the tests included in the issue; the execution time of Read Until...
[PythonLibCore](https://pypi.org/project/robotframework-pythonlibcore/) is a great way to extend a library but it needs the kewords to be declared using the decorator `@keyword`. Therefore, in order to ease the use of this...
Using `Get Pre Login Banner` with or without host name, always returns: `FAIL : AttributeError: 'NoneType' object has no attribute 'decode'` I don't know if this is because I am...
This should fix #435
**Steps to reproduce:** Have multiple test cases run after another, which do "Create Local Ssh Tunnel" in setup-phase, and "Close All Connections" in teardown-phase. **Expected results:** `Close All Connections` would...
This is a similar, if not identical issue to [issue387](https://github.com/robotframework/SSHLibrary/issues/387). I have the following keyword sequence: ``` Write source /home/file\n Read Until Prompt strip_prompt=True Write rm -rf /path/to/some/other/dir Read Until...
I need to set the HostKeyAlgorithms to ssh-rsa for my connection from the sshlibrary to the server. How can I do that with this library? When I use the ssh...
When using 'output_during_execution' the logged messages are returned without being properly decoded. Example can be seen below:  An uglier output, new lines are lost too:  I was able...
The deprecated aliases were removed in Python 3.11 in python/cpython#28268