diff --git a/napalm_procurve/procurve.py b/napalm_procurve/procurve.py index 698fca2..43cd376 100644 --- a/napalm_procurve/procurve.py +++ b/napalm_procurve/procurve.py @@ -616,7 +616,7 @@ class ProcurveDriver(ConfigLifecycleMixin, SwitchDriver): "-o", "BatchMode=no", "-o", "KexAlgorithms=+diffie-hellman-group1-sha1,diffie-hellman-group14-sha1", "-o", "HostKeyAlgorithms=+ssh-rsa", - "-p", str(self.port or 22), + "-p", "22", # always SSH port — self.port is the REST API port (443) f"{self.username}@{self.hostname}", "show running-config", ]