Câu 131: XK0-005: CompTIA Linux+
A junior administrator is trying to set up a passwordless SSH connection to one of the servers. The administrator follows the instructions and puts the key in the authorized_key file at the server, but the administrator is still asked to provide a password during the connection. Given the following output: Which of th…
Nội dung câu hỏi
A junior administrator is trying to set up a passwordless SSH connection to one of the servers. The administrator follows the instructions and puts the key in the authorized_key file at the server, but the administrator is still asked to provide a password during the connection. Given the following output: Which of the following commands would resolve the issue and allow an SSH connection to be established without a password?
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. restorecon -rv .ssh/authorized_key
- B. mv .ssh/authorized_key .ssh/authorized_keys — đáp án hiện tại
- C. systemctl restart sshd.service
- D. chmod 600 mv .ssh/authorized_key
Cộng đồng
0 bình luận công khai. Tên thành viên được ẩn một phần.