Replies: 1 comment 4 replies
-
@Jorgmassih Calix B6 at least for some subset of devices used to require that Netmiko manually handle the authentication. See the Calix B6 driver and the Calix B6 used to present the following (which Netmiko would have to programmatically handle):
Is that no longer the case? Or not the case for some subset of Calix B6 devices? |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I was trying to use the Calix B6 module and I faced an SSH connection issue.
I tried a simple code like the following:
And I got the following error:
When I go into the Calix B6 classes, I realized that
CalixB6SSH
class is doing an overriding of the method_build_ssh_client
.The problem with this code is the attribute
self.use_keys
is not making sure SSH Keys are used, instead, it's causing the connection to be rejected for devices without SSH Keys configured.This class supports manually handling authentication, but it has to be developed by the user in order to properly work and, also this is the class that is used to connect (
SSHClient_noauth
) in the case of settinguse_keys
toFalse
in theconfig
dictionary.My suggestion is to remove this overridden method and, use the
CalixB6Base
instead ofCalixB6SSH
.Beta Was this translation helpful? Give feedback.
All reactions