exscript
exscript copied to clipboard
A Python module making Telnet and SSH easy
Hello folks, When I'm trying to run exscript have the following result: ``` Traceback (most recent call last): File "/usr/local/bin/exscript", line 4, in __import__('pkg_resources').run_script('Exscript===DEVELOPMENT', 'exscript') File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources/__init__.py", line 3095, in...
I'd wanted to use the "--no-authentication" flag as the auto login does not understand this routers CLI prompt. The message looks rather like a bug tough. "NoneType" sounds like a...
Hi, it doesn't see the next shell prompt after successful login: `root@HH-VPN:~#` How can I add it manually to exscript?
Example telnet connection with login prompt ``` username@home ~ % telnet X.X.X.X Trying X.X.X.X... Connected to X.X.X.X. Escape character is '^]'. User Access Verification RackX_XXX login: admin Password: Bad terminal...
I had a German umlaut ("ü") in one of my .exscript files and got this. Took me a while to realize that it was not "gargabe" in the output of...
I noticed that my sys.message() output is not in the logfiles created with "-l" of the CLI. It would be nice if they would as I could then "grep" those...
Imagine a script that queries the current firmware version and then decides if a patch has to be installed or not. It would be handy if a template could "graceful"...
https://github.com/knipknap/exscript/blob/cc0b63befdc8f4465af5befeed1d26ce26f1944d/Exscript/protocols/ssh2.py#L273 The supported *auth_type* are hardcoded in the ssh2 module. I propose to have the possibility to set the *auth_type* inside the SSH2 constructor which will override the hardcoded one....
Is there a way to use max_threads=1 without the verbose output?