Coder Social home page Coder Social logo

Telnet login about expect HOT 5 CLOSED

hymkor avatar hymkor commented on May 29, 2024
Telnet login

from expect.

Comments (5)

tangingw avatar tangingw commented on May 29, 2024 1

Ok. I tested your modification, with plink.exe. With a delay of 1 ms, it works like charm, but it starts to prompt the error that I showed you on the previous thread if I limit the delay to 0.5 ms.

from expect.

hymkor avatar hymkor commented on May 29, 2024

Is the server that you login , Windows Server ?
And do you succeed to telnet only by plink.exe without expect.exe ?

from expect.

tangingw avatar tangingw commented on May 29, 2024

Actually it is a Cisco device. I can login to the device by just using plink.exe --telnet

from expect.

hymkor avatar hymkor commented on May 29, 2024

I tested plink.exe and expect.exe.
plink.exe is too slow to recieve all keyboard event.
expect.exe must send keyboard events more slowly.
I would try.

from expect.

hymkor avatar hymkor commented on May 29, 2024

Please download the latest version: https://github.com/zetamatta/expect/releases/tag/20180808

And, replace send("...") to send("...",500) for example.
500 means send() command wait 0.5 second per 1-character.
If too slow, decrease the number. If it fails, increase.

from expect.

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.