TMAegisBeta
More rules for arista-eos

Arista EOS

TMA-ARISTA-EOS-2.6.1

Limit SSH Access Only To The Network Management Segment

HighLevel 1Automatedarista-eos

Description

The network element should only allow management connections for administrative access from hosts residing in the management network. It is recommended to review the configuration and verify management access to the device is allowed only from hosts within the management network. Requires SSH to be shut down in the default VRF (enable it only under the management VRF). Audited against the output of 'show running-config' (not 'show running-config all').

How it is checked

Audit method: Configuration pattern

Pattern
(?m)^management ssh[^\n]*\n(?:[ \t][^\n]*\n)*? {3}shutdown[ \t\r]*$

How it is fixed

Fix method: Guidance or infrastructure patch

! management ssh sho active vrf MGMT no shutdown exit shutdown end

Properties

Operating systems
Any
Tags
arista-eosnetworkmanagement-plane
Reference
CIS Arista EOS Benchmark v1.0.0 - 2.6.1 Limit SSH Access Only To The Network Management Segment

Check this host

Run this on a machine you are allowed to audit. The scan is read-only.

shell
tmaegis scan --target arista-eos