Giter Club home page Giter Club logo

Comments (5)

knipknap avatar knipknap commented on August 16, 2024

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.

knipknap avatar knipknap commented on August 16, 2024

Can you try this again with the "-n" option in the latest version?

from exscript.

nipuL avatar nipuL commented on August 16, 2024

Still getting the same error.

from exscript.

knipknap avatar knipknap commented on August 16, 2024

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.

knipknap avatar knipknap commented on August 16, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.