Câu 122: XK0-005: CompTIA Linux+
To harden one of the servers, an administrator needs to remove the possibility of remote administrative login via the SSH service. Which of the following should the administrator do?
Nội dung câu hỏi
To harden one of the servers, an administrator needs to remove the possibility of remote administrative login via the SSH service. Which of the following should the administrator do?
Các lựa chọn
Đáp án được giữ gọn theo nhãn A, B, C, D trong phần bình chọn tương tác.
- A. Add the line DenyUsers root to the /etc/hosts.deny file.
- B. Set PermitRootLogin to no in the /etc/ssh/sshd_config file. — đáp án hiện tại
- C. Add the line account required pam_nologin. so to the /etc/pam.d/sshd file.
- D. Set PubKeyAuthentication to no in the /etc/ssh/ssh_config file.
Cộng đồng
0 bình luận công khai. Tên thành viên được ẩn một phần.
Chưa có bình luận. Mở giao diện tương tác để bắt đầu thảo luận.