Securing management protocols: SSH, HTTPS, SNMPv3, authenticated NTP and syslog over TLS
In short: Older management protocols send passwords and data in clear text, so anyone on the path can read or change them. Replace Telnet with SSH, HTTP with HTTPS, SNMPv1 and v2c with SNMPv3 using authentication and privacy, FTP and TFTP with SCP or SFTP, and add authentication to NTP and TLS to syslog. Keep all management traffic on a separate, filtered network.
Why it matters
Management protocols carry the keys to the network: admin passwords, SNMP community strings that can sometimes change configuration, and configuration files with secrets inside. On an internal network, a single compromised PC can capture them if they are not encrypted. Attackers also target management interfaces directly.
SNMPv3
SNMPv1 and v2c protect access with a community string sent in clear text; "public" and "private" are still common defaults. SNMPv3 adds users, authentication and encryption. Use authPriv with SHA-2 and AES:
ip access-list standard SNMP-MGRS
permit 10.10.99.20
permit 10.10.99.21
snmp-server view READONLY iso included
snmp-server group MONITOR v3 priv read READONLY access SNMP-MGRS
snmp-server user nms-poller MONITOR v3 auth sha Example-Auth-Pass priv aes 256 Example-Priv-Pass
no snmp-server community public
no snmp-server community private
Use read-only views for monitoring. Few organisations need SNMP write access at all today.
SSH and HTTPS
- Enable SSH version 2 only, with modern key sizes, and disable Telnet (
transport input ssh). - Disable the HTTP server; if you need the web interface or RESTCONF, use HTTPS with a certificate from your internal CA instead of a self-signed one, and restrict access with an ACL.
File transfer
Use SCP or SFTP to copy configurations and images. Keep TFTP only where a device has no alternative (such as some boot processes), on an isolated network.
NTP
An attacker who can change a device's clock can make logs useless and break certificate checks. Use NTP authentication with symmetric keys between your devices and internal NTP servers, and where supported, NTS (Network Time Security, RFC 8915), which uses TLS-based key exchange, for time from public sources.
Syslog
Classic syslog uses UDP 514 with no encryption or delivery guarantee. Many devices and log collectors support syslog over TLS (TCP 6514), which encrypts messages and confirms delivery. At minimum, send syslog only across the management network.
The management network
- Put device management interfaces in a dedicated management VLAN or VRF, or use dedicated management ports.
- Allow management protocols only from jump hosts and management servers, using VTY ACLs, SNMP ACLs and infrastructure ACLs.
- Consider a fully out-of-band management network for critical sites.
Real-world example: the community string
A penetration tester found that all of a company's switches used the SNMP community "private" with write access. From a normal user VLAN, the tester downloaded every switch configuration with a single tool, including password hashes and VPN keys. The company moved to SNMPv3 read-only from two monitoring servers, removed all write communities and filtered SNMP to the management network.
Practice
Which SNMPv3 security level provides both authentication and encryption?
What is NTS?
Which port does syslog over TLS use?
Key takeaways
- Replace Telnet, HTTP, SNMPv1/v2c and FTP/TFTP with secure versions.
- Use SNMPv3 authPriv, read-only, restricted to monitoring servers.
- Authenticate NTP (or use NTS) and send syslog over TLS where possible.
- Keep management traffic on a separate, filtered management network.
Original content written by Mohamed Fayas for FM TecHub. © 2026 FM TecHub. You're welcome to share a link to this page; please don't copy the text elsewhere without permission.