SSH Saga #3714
Replies: 4 comments 3 replies
|
Well it appears Paramiko has stripped most of its older support (ssh-rsa/sha256) in 5.0 according to their release notes, |
|
Considering that the only (semi) legal way to get IOS images is via CML, and CML includes IOL and IOLL2, and they're well supported by containerlab and netlab, I'd deprecate IOSv and IOSvL2, add the "you need paramiko version less than 5.0, and this is how you install it" to the Cisco IOS SSH caveats (and maybe to device quirks), and move on and have a life. Any objections? |
|
FWIW, when I was testing this stuff, I figured out that users using netlab install ansible aren't impacted (yet) because netmiko 4.7 (which is also installed) forces paramiko down to 4.0.0. Anyhow, added an error (that can be disabled) in #3771. |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Recent Paramiko has gone to the dark side sometimes and fails with old Cisco devices by default. I do not have any desire whatsoever to bisect this, see when it happened, and in conjunction with what OS settings, and how the spheres - including Pluto - were aligned.
At this stage, it's safer to use ansible-pylibssh by default (if offered by the OS package manager, the binary from pypy is flawed, since it vendors libssh with default settings, and you get no guarantee of consistency with OS settings). That rules out any binary install with pip and netlab install. (Yeah it may still work on your Ubuntu, but do not vount on it :P)
Or, we should start to treat iosv and iosvl2 as second-layer platforms.
All reactions