Giter VIP home page Giter VIP logo

ipcjk / mlxsh Goto Github PK

View Code? Open in Web Editor NEW
29.0 4.0 2.0 21.61 MB

mlxsh is the missing, fast power command-line and shell that enables you to enter configuration changes or run commands simultaneously to groups of Brocade or Extreme Networks Netiron devices (MLX, CER, MLXE, XMR, ICX, Ironware), SLX-Devices or Juniper switches via Secure Shell (ssh).

License: Other

Go 99.72% Shell 0.28%
brocade-netiron-devices brocade mlxe netiron cer mlx ssh extreme juniper junos

mlxsh's Issues

Add split window function

Instead printing line by line, there could be a function to split outputs for a constant pull mode horizontally or vertically. Not so sure about Windows-Terminal here.

support old XMR

Hi

First of all, apologies if I doing/saying anything wrong as I am quite newbie dealing with issues in Go, github, etc

I like your project and would like to use it in my employer Brocade MLX/XMR state. At the moment I can't make it work with old XMR from our lab as it is using old ciphers :( and can't really upgrade it

~/automation/mlxsh/release$ ./mlxsh -hostname xxx -script "show ip bgp summary"
╔══════════════════════════════════════════════════════════════════════╗
║xxx ║
║No success: ║
║ssh: handshake failed: ssh: no common algorithm for client to server cipher; client offered: [aes128-ctr aes192-ctr aes256-ctr [email protected] arcfour256 arcfour128], server offered: [aes256-cbc aes192-cbc aes128-cbc 3des-cbc]║
╚══════════════════════════════════════════════════════════════════════╝

I am trying to add this workaround in place in your code

golang/go#20201

Are you ok if I can try to add that?

Thanks!

Make ssh connections idle

For shellmode the connection is dropped after a command. Maybe it would be wise to have a connection pool with a persistent connection for the second command.

Add constant pull mode

There should be a flag to constantly run a command and watch the output, e.g. show interface $x.

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.