Which port is used by SSH (Secure Shell)?

Prepare for the eLearnSecurity Junior Penetration Tester exam with our comprehensive quiz platform. Improve your skills with multiple-choice questions, detailed explanations, and exam tips. Get exam ready with ease!

Multiple Choice

Which port is used by SSH (Secure Shell)?

Explanation:
SSH uses TCP and its default port is 22. This port is the one assigned by IANA for the Secure Shell service, so clients connect to port 22 to establish a secure remote session. Other common ports are used by different services: 21 for FTP, 23 for Telnet, and 25 for SMTP. Administrators can configure SSH to listen on a different port, but the standard, widely recognized port is 22, which is why that option is the correct one.

SSH uses TCP and its default port is 22. This port is the one assigned by IANA for the Secure Shell service, so clients connect to port 22 to establish a secure remote session. Other common ports are used by different services: 21 for FTP, 23 for Telnet, and 25 for SMTP. Administrators can configure SSH to listen on a different port, but the standard, widely recognized port is 22, which is why that option is the correct one.

Subscribe

Get the latest from Passetra

You can unsubscribe at any time. Read our privacy policy