feat: harden the host's SSH server through napalm-device-types
CI / test (3.10) (pull_request) Successful in 38s
CI / test (3.11) (pull_request) Successful in 36s
CI / test (3.12) (pull_request) Successful in 38s
CI / test (3.10) (push) Successful in 37s
CI / test (3.11) (push) Successful in 36s
CI / test (3.12) (push) Successful in 37s

LinuxDriver mixes in OpenSshServerMixin, so netOrk can take algorithms
ssh-audit flagged out of what sshd offers. The work is the base's; the
driver brings run_command, which already runs as root over an exec channel.

Requires napalm-device-types 4.5.0; bumps to 0.5.0. NetOrk/netork#1027
This commit is contained in:
Christian Manivong committed 2026-10-11 23:12:34 +02:00
1 parent 0268019743
commit eb7432ea5a
3 files changed
+24 -2

No files matched your search

+2
View File
@@ -41,6 +41,7 @@ from napalm_device_types import (
HostStatusMixin,
KernelFactsMixin,
ListeningSocketsMixin,
OpenSshServerMixin,
OSDriver,
SystemdServicesMixin,
SystemdUnavailable,
@@ -208,6 +209,7 @@ class LinuxDriver(
KernelFactsMixin,
ListeningSocketsMixin,
VirtualIpsMixin,
OpenSshServerMixin,
SystemdServicesMixin,
HostStatusMixin,
ContainerEngineMixin,