CompTIA Linux+ (XK0-005) — Question 155
A Linux administrator needs to connect securely to a remote server in order to install application software. Which of the following commands would allow this connection?
Answer options
- A. scp "ABC-key.pem"[email protected]
- B. sftp[email protected]
- C. telnet 10.0.0.1 80
- D. ssh -i "ABC-key.pem"[email protected]
- E. sftp "ABC—key.pem"[email protected]
Correct answer: D
Explanation
The correct command is 'ssh -i "ABC-key.pem"[email protected]' because SSH (Secure Shell) provides a secure channel for connecting to remote servers. Options A and E are related to secure file transfers but do not provide a shell for installation, while option B is also for file transfer and option C uses telnet, which is not secure.