Which port is the default for SSH (Secure Shell)?
A21 (FTP)
B25 (SMTP)
C23 (Telnet)
D22 (SSH)
Answer & Solution
Correct answer: D. 22 (SSH)
1. Standard well-known port assignments (IANA):
• 21: FTP control
• 22: SSH (Secure Shell)
• 23: Telnet (cleartext — deprecated for management)
• 25: SMTP
• 80: HTTP
• 443: HTTPS
2. SSH provides encrypted remote shell + file transfer (SCP, SFTP) + tunneling.
3. Best practice: disable Telnet entirely. Disable SSH root login. Use key-based auth (not password).
_Source: RFC 4251 (SSH protocol) + IANA Service Name and Port Number Registry._
Keep practising Network Security
Browse all Network Security questions for B.Tech Cyber Security, or explore more Cybersecurity topics.