Step 1: Break the question into two needs:
The protocol must do two things. First, it must allow remote login. Second, it must protect the data by encryption.
Step 2: Test each protocol against both needs:
TELNET: remote login yes, encryption no. SSH: remote login yes, encryption yes. HTTP: no login, no encryption. TCP: only reliable delivery, no login and no encryption.
Step 3: Decide:
Only SSH (Secure Shell) satisfies both needs. This is why system administrators use SSH instead of TELNET to manage servers over the internet.
Step 4: Why the other three are not the answer:
TELNET lets us log in from far away, but a person who watches the network can read the password because nothing is hidden. HTTP carries web pages and has no login job. TCP only makes sure the data packets arrive in order, and it does not hide the data. So none of these three gives a safe remote login.
Final Answer:
Only SSH meets both needs, so the answer is option B.
\[ \boxed{\text{B. SSH}} \]