Sign inSign up

rickronen/snmpv3-ssh

By rickronen

โ€ขUpdated over 1 year ago

Dockerized SNMPv3 Agent with Preconfigured Users and SSH Access

Image
Networking
0

73

rickronen/snmpv3-ssh repository overview

โ ๐Ÿ“˜ Overview:

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.


โ ๐Ÿš€ How to Use
โ ๐Ÿณ Run the container:
docker run -d --name snmpv3-ssh -p 161:161/udp -p 2222:2222 rickronen/snmpv3-ssh:1.0
โ ๐Ÿ” SSH into the container:
ssh root@localhost -p 2222
# Password: rad123
โ ๐Ÿ” SNMP Walk Examples (host running Docker must have 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.1 with the container IP or host IP if running remotely.


โ ๐Ÿ‘ฅ SNMPv3 Users Table
UsernameSecurity LevelAuth ProtocolAuth PassPriv ProtocolPriv Pass
initialnoAuthNoPrivโ€”โ€”โ€”โ€”
radauthNoPrivMD5rad123456โ€”โ€”
darauthPrivMD5rad123456AESRad123456

โ ๐Ÿงท SSH Access Details
  • Username: root
  • Password: rad123
  • Port: 2222 (on localhost)

Tag summary

Content type

Image

Digest

sha256:f6c2f5e22โ€ฆ

Size

150.7 MB

Last updated

over 1 year ago

docker pull rickronen/snmpv3-ssh:1.0