ss
The Linux command that lists network sockets, such as which ports are listening and which connections are open.
In more detail
ss -tln lists listening TCP ports with numeric addresses; adding -p shows the owning process. A validator compares that list with the ports the host is supposed to offer.
Related terms
- port — A number from 1 to 65535 that picks out one service on a machine, such as 22 for SSH or 80 for plain web traffic.
- reconnection gate — An automated check a rebuilt or restored host must pass before it leaves quarantine and rejoins the network.
Taught in
- The Host Footprint: Six Doors On A Worker — Certified Kubernetes Security Specialist (CKS) Exam Prep
- Recovery & System Validation Testing — Security Operations & Threat Hunting (SOC)
- Post-Incident Review & Root Cause Analysis — Security Operations & Threat Hunting (SOC)
- A Server Nobody Can Find: Addresses, Routes And Names On Both Families — CompTIA Linux+ (XK0-006) Exam Prep
- The Tracker Is Down, For Some People: Link, Address, Route, Name And Port — CompTIA Linux+ (XK0-006) Exam Prep
- Three PBQs Against The Clock: A Performance-Based Mock On Both Families — CompTIA Linux+ (XK0-006) Exam Prep
- Network Troubleshooting: The Ladder From Link To Port — Linux Foundation Certified System Administrator (LFCS) Exam Prep
- Port Forwarding, Redirection And NAT With nftables — Linux Foundation Certified System Administrator (LFCS) Exam Prep
- Static Routes: Prefixes, Metrics And Persistence — Linux Foundation Certified System Administrator (LFCS) Exam Prep
- Reverse Proxies And Load Balancers — Linux Foundation Certified System Administrator (LFCS) Exam Prep
- Constraints: Limits, Control Groups And Listeners — Linux Foundation Certified System Administrator (LFCS) Exam Prep
- Mock Exam, Part 2: Real Machines And The Costly Mistakes — Linux Foundation Certified System Administrator (LFCS) Exam Prep
- Desktops, Remote Screens And Accessibility — LPIC-1 Linux Administrator (101-500 and 102-500) Exam Prep