nerdexam
CompTIA

XK0-005 · Question #1432

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?

The correct answer is D. ssh -i "ABC-key.pem" [email protected]. 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…

Security

Question

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?

Options

How the community answered

(29 responses)
  • A
    3% (1)
  • B
    7% (2)
  • C
    3% (1)
  • D
    86% (25)

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]).

Topics

#SSH#Remote Access#Secure Connection#Authentication Keys

Community Discussion

No community discussion yet for this question.

Full XK0-005 Practice