Comments (5)
Ah, I didn't know that SSH supports this. I am not in the office this week, I will look at it when I get back.
from exscript.
Can you try this again with the "-n" option in the latest version?
from exscript.
Still getting the same error.
from exscript.
Unfortunately the problem can not be fixed without switching away from the paramiko.Client API, which is a major change. So I essentially re-wrote the SSH2 adapter on top of paramiko.Transport (SHA 5735e95).
It is completely possible (if not likely) that the problem persists, but can you please provide another traceback using the current master branch? If it works, you should get to see the username prompt of the remote host (at which point the adapter will probably die waiting).
from exscript.
The issue has brought some long standing design problems with Exscript.protocols back to my attention. Today I have pushed a huge change to the protocol-api-overhaul branch, which should fix the issue, though I have no way to test it.
The new API works like this:
from Exscript import Account
from Exscript.protocols import SSH2
c = SSH2()
c.connect("localhost")
c.login(Account("user"))
This should work even for devices that emulate telnet over SSH.
from exscript.
Related Issues (20)
- version in releases called DEVELOPMENT HOT 4
- Connect to a device via previously connected device HOT 1
- print status(logger) and summarize(logger) syntax error HOT 1
- ssh to citrix MPX device
- Authentication with _paramiko_auth_password failed: Authentication timeout
- Support PrivateKey.from_private_key_file(obj)
- Problem in connecting nodes of Cisco Terminal Server HOT 1
- Exscript needs to negotiate ciphers automatically with older SSH systems... HOT 2
- Generic method to run a remote sudo command
- Exscript ssh2.interact() seems to be broken under linux HOT 1
- prompt with questions
- breaks with python3.10 due to deprecated (and now removed) use of collections.Callable
- API docs missing at readthedocs
- Expect and waitfor error with ValueError HOT 4
- Telnet does not seem to work HOT 1
- iox_xr driver modification needed
- Fundamental incompatibility of Threading and Multiprocessing (Python) HOT 2
- ModuleNotFoundError: No module named 'imp' HOT 2
- Upgrade build system to PEP 517
- How to connect to the emulator terminal of Android Studio for Android Emulator
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from exscript.