A system administrator is troubleshooting an inability to establish a secure remote administration session via SSH to a Linux server located at . The administrator executes the command `netstat -an` directly on the server to inspect active network socket states and receives the following truncated output:
Proto Local Address Foreign Address State
TCP 0.0.0.0:23 0.0.0.0:0 LISTENING
TCP 0.0.0.0:80 0.0.0.0:0 LISTENING
TCP 0.0.0.0:443 0.0.0.0:0 LISTENING
Based on the utility output, which condition explains why remote SSH connections to this server are failing?
- The SSH daemon is not running or is not bound to listen on standard TCP port 22.Cevap
- BThe server is currently accepting SSH sessions on TCP port 23, indicating an active encrypted remote management service.
- CThe command output demonstrates that local DNS client resolution has failed to map numerical socket addresses to human-readable hostnames.
- DThe listening sockets indicate that an AAAA DNS resource record is missing for IPv4 interface binding.
Cevap
The SSH daemon is not running or is not bound to listen on standard TCP port 22.
Secure Shell (SSH) operates over TCP port 22 by default. In the provided `netstat -an` output, the server lists active listening services on TCP ports 23 (Telnet), 80 (HTTP), and 443 (HTTPS), but TCP port 22 is completely missing. This indicates the SSH daemon process is not running or is not listening on its default port, causing incoming connection attempts to fail.
Adım Adım Çözüm
Anahtar Kavram
Port and protocol monitoring using netstat/ss utilities
Tahmini Süre:1m 30s