exscript icon indicating copy to clipboard operation
exscript copied to clipboard

A Python module making Telnet and SSH easy

Results 48 exscript issues
Sort by recently updated
recently updated
newest added

I can establish normal SSH2 sessions with Exscript. However, when I use `conn.interact()`, I get `exscript` tracebacks... fancy super-useful tracebacks courtesy of [`loguru`](https://github.com/Delgan/loguru) ```python $ python testme_exscript.py Interacting... 2021-12-26 15:51:45.849...

``` [...] File ".../venv/lib/python3.10/site-packages/Exscript/util/collections.py", line 9, in from collections import OrderedDict, Callable, defaultdict ImportError: cannot import name 'Callable' from 'collections' (/usr/lib/python3.10/collections/__init__.py) ``` Also see: * https://docs.python.org/3/whatsnew/3.10.html#removed * https://github.com/python/cpython/issues/81505

Exscript has problems logging into systems which need changes to allowed SSH2 ciphers... Exscript will fail on this host... Example script: ```python from Exscript.util.interact import read_login from Exscript.protocols import SSH2...

I have been trying to figure out how to manually run a sudo command with Exscript, but the way to do so escapes me. I'm trying to use `send()` to...

* Try auth_password first (it should be the most common for network equipments and some of them don't like auth_none as first method, requiring reconnection * Use correct display names...

I have several devices connected to cisco Terminal Server and while I am trying to reach out to those nodes, I am not about to get in. The code: from...

The decryption password is now passed to the underlying key class when attempting to determine the key type. This ensures PasswordRequiredException is not raised during this process.

import Exscript from Exscript.protocols import SSH2,Account device = SSH2(debug=9) acc = Account("xxxx","xxxxx") device.connect("HOST1",port=9090) print device.response print device.get_remote_version() print device.get_banner() print device.is_dummy() device.login(acc) print device.response '''''''''''''''''''' output 👍 generic: Rejecting ssh-rsa...

[ error ] ``` Exception in thread Thread-1: Traceback (most recent call last): File "/usr/local/lib/python3.5/dist-packages/Exscript/protocols/protocol.py", line 769, in _app_authenticate index, match = self._waitfor(prompt_list) File "/usr/local/lib/python3.5/dist-packages/Exscript/protocols/protocol.py", line 986, in _waitfor result...

Currently, the private key can be loaded only from a file path. It would be nice if the private key could be embedded directly from an IO object (like `RSAKey.from_private_key`...