ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 153 - XK0-005 discussion

Report
Export

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?

A.
scp "ABC-key.pem" [email protected]
Answers
A.
scp "ABC-key.pem" [email protected]
B.
sftp rooteiO.0.0.1
Answers
B.
sftp rooteiO.0.0.1
C.
telnet 10.0.0.1 80
Answers
C.
telnet 10.0.0.1 80
D.
ssh -i "ABC-key.pem" [email protected]
Answers
D.
ssh -i "ABC-key.pem" [email protected]
E.
sftp "ABC-key.pem" [email protected]
Answers
E.
sftp "ABC-key.pem" [email protected]
Suggested answer: D

Explanation:

The command ssh -i "ABC-key.pem" [email protected] would allow the administrator to connect securely to the remote server in order to install application software. The ssh command is a tool for establishing secure and encrypted connections between remote systems. The -i option specifies the identity file that contains the private key for key-based authentication. The "ABC-key.pem" is the name of the identity file that contains the private key. The [email protected] is the username and the IP address of the remote server. The command ssh -i "ABC-key.pem" [email protected] will connect to the remote server using the private key and allow the administrator to install application software. This is the correct command to use to connect securely to the remote server. The other options are incorrect because they either do not use key-based authentication (sftp [email protected] or telnet 10.0.0.1 80) or do not use the correct syntax for the command (scp "ABC-key.pem" [email protected] instead of scp -i "ABC-key.pem" [email protected] or sftp "ABC-key.pem" [email protected] instead of sftp -i "ABC-key.pem" [email protected]). Reference: CompTIA Linux+ (XK0-005) Certification Study Guide, Chapter 17: Implementing Basic Security, page 513.

asked 02/10/2024
Jesus Vargas
48 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first