Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

support old XMR #1

Closed
thomarite opened this issue Jul 6, 2017 · 8 comments
Closed

support old XMR #1

thomarite opened this issue Jul 6, 2017 · 8 comments

Comments

@thomarite
Copy link

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 aes128-gcm@openssh.com 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!

@ipcjk
Copy link
Owner

ipcjk commented Jul 7, 2017

New built is here:
https://github.com/ipcjk/mlxsh/releases/tag/0.2a

Thank you very much for your input. I have added "aes128-cbc" and "3des-cbc" and tested things with the Turboiron 24x here. "aes256-cbc", "aes192-cbc" is not supported in ssh-go.

./mlxsh -label "type=turboiron"  -script 'show version' | grep uptime
The system uptime is 556 days 12 hours 52 minutes 59 seconds 

Looks good for me.

@thomarite
Copy link
Author

thomarite commented Jul 7, 2017 via email

@thomarite
Copy link
Author

thomarite commented Jul 7, 2017 via email

@ipcjk
Copy link
Owner

ipcjk commented Jul 7, 2017

I feel very sorry that things don't work.

When you do a login via SSH, do you land directly in privileged mode? Is
"aaa authentication login privilege-mode" configured?

@thomarite
Copy link
Author

Yes, we have "aaa authentication login privilege-mode" .

As well, we have a banner, I have removed it and same issue :(

@ipcjk
Copy link
Owner

ipcjk commented Jul 7, 2017

Great, please check if
https://github.com/ipcjk/mlxsh/releases/download/0.2b/release.tar.gz
resolves your issue.

@thomarite
Copy link
Author

thomarite commented Jul 7, 2017 via email

@thomarite
Copy link
Author

marking the issue as solved. thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants