ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 317 - XK0-005 discussion

Report
Export

A Linux administrator created a virtual clone of a physical server and would like to remove any existing entries related to SSH keys from outside entities on the virtual clone. Which of the following files should the administrator remove? (Select two).

A.

~/.ssh/authorized_keys

Most voted
Answers (1)
Most voted
A.

~/.ssh/authorized_keys

B.

~/.ssh/known_hosts

Most voted
Answers (1)
Most voted
B.

~/.ssh/known_hosts

C.

/etc/ssh/ssh_config

Answers
C.

/etc/ssh/ssh_config

D.

~/.ssh/config

Answers
D.

~/.ssh/config

E.

/etc/ssh/sshd_config

Answers
E.

/etc/ssh/sshd_config

F.

/etc/ssh/ssh_host_rsa_key.pub

Answers
F.

/etc/ssh/ssh_host_rsa_key.pub

Suggested answer: A, B

Explanation:

The ~/.ssh/authorized_keys file contains SSH public keys that grant access to the user account. Removing this file ensures that no external entities can log in using previously authorized keys. The ~/.ssh/known_hosts file stores fingerprints of previously connected hosts. Removing this file ensures that SSH doesn't trust any previously connected hosts.

asked 09/10/2024
Govinda Bhikha
38 questions
User
Your answer:
1 comments
Sorted by
Up
0
Down
User
Roolo

Edited one month ago

Voted A, B

A B correct

Reply
Reply
Report