nerdexam
CompTIA

SK0-004 · Question #921

Which of the following statements best represent the difference between SSH and Telnet? (Choose two.)

The correct answer is A. Telnet sends passwords and keystrokes across the wire in clear text. D. SSH encrypts the traffic between the client and the server. Telnet transmits all data including credentials in plaintext, while SSH encrypts the entire session between client and server.

Security and disaster recovery

Question

Which of the following statements best represent the difference between SSH and Telnet? (Choose two.)

Options

  • ATelnet sends passwords and keystrokes across the wire in clear text.
  • BSSH sends passwords and keystrokes across the wire in clear text.
  • CTelnet encrypts the traffic between the client and the server.
  • DSSH encrypts the traffic between the client and the server.
  • ETelnet makes use of UDP port 22.
  • FSSH makes use of UDP port 23.

How the community answered

(19 responses)
  • A
    95% (18)
  • E
    5% (1)

Why each option

Telnet transmits all data including credentials in plaintext, while SSH encrypts the entire session between client and server.

ATelnet sends passwords and keystrokes across the wire in clear text.Correct

Telnet was designed without security in mind and transmits all data - including usernames, passwords, and keystrokes - as unencrypted plaintext across the network, making it vulnerable to packet sniffing attacks.

BSSH sends passwords and keystrokes across the wire in clear text.

SSH does not send passwords or keystrokes in clear text - it encrypts all session data, which is the primary reason it was created as a secure replacement for Telnet.

CTelnet encrypts the traffic between the client and the server.

Telnet does not encrypt traffic; it sends all data in plaintext, which is precisely the security vulnerability that led to the development of SSH.

DSSH encrypts the traffic between the client and the server.Correct

SSH (Secure Shell) uses strong cryptographic algorithms to encrypt all traffic between the client and server, including authentication credentials, protecting against eavesdropping and man-in-the-middle attacks.

ETelnet makes use of UDP port 22.

Telnet uses TCP port 23, not UDP port 22; Telnet does not use UDP at all.

FSSH makes use of UDP port 23.

SSH uses TCP port 22, not UDP port 23; SSH operates exclusively over TCP, and port 23 is assigned to Telnet.

Concept tested: SSH vs Telnet encryption and port differences

Source: https://www.rfc-editor.org/rfc/rfc4251

Topics

#SSH#Telnet#encryption#network protocols

Community Discussion

No community discussion yet for this question.

Full SK0-004 Practice