Dockerized SNMPv3 Agent with Preconfigured Users and SSH Access
73
This repository provides a ready-to-use SNMPv3 agent based on Ubuntu 22.04 with NET-SNMP 5.9.1 and OpenSSH Server. The container is preconfigured with multiple SNMPv3 users for testing different authentication and privacy levels. SSH is also enabled on port 2222 for easy access and debugging.
docker run -d --name snmpv3-ssh -p 161:161/udp -p 2222:2222 rickronen/snmpv3-ssh:1.0
ssh root@localhost -p 2222
# Password: rad123
snmp installed):1. initial โ noAuthNoPriv
snmpwalk -v3 -u initial -l noAuthNoPriv 127.0.0.1 1.3.6.1.2.1.1
2. rad โ authNoPriv (MD5)
snmpwalk -v3 -u rad -l authNoPriv -a MD5 -A rad123456 127.0.0.1 1.3.6.1.2.1.1
3. dar โ authPriv (MD5 + AES)
snmpwalk -v3 -u dar -l authPriv -a MD5 -A rad123456 -x AES -X Rad123456 127.0.0.1 1.3.6.1.2.1.1
Replace
127.0.0.1with the container IP or host IP if running remotely.
| Username | Security Level | Auth Protocol | Auth Pass | Priv Protocol | Priv Pass |
|---|---|---|---|---|---|
initial | noAuthNoPriv | โ | โ | โ | โ |
rad | authNoPriv | MD5 | rad123456 | โ | โ |
dar | authPriv | MD5 | rad123456 | AES | Rad123456 |
rootrad1232222 (on localhost)Content type
Image
Digest
sha256:f6c2f5e22โฆ
Size
150.7 MB
Last updated
over 1 year ago
docker pull rickronen/snmpv3-ssh:1.0