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).
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.
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
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.