Câu 103: XK0-005: CompTIA Linux+
An administrator transferred a key for SSH authentication to a home directory on a remote server. The key file was moved to .ssh/authorized_keys location in order to establish SSH connection without a password. However, the SSH command still asked for the password. Given the following output: Which of the following co…
Nội dung câu hỏi
An administrator transferred a key for SSH authentication to a home directory on a remote server. The key file was moved to .ssh/authorized_keys location in order to establish SSH connection without a password. However, the SSH command still asked for the password. Given the following output: Which of the following commands would resolve the issue?
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 .ssh/authorized_keys — đáp án hiện tại
- B. ssh_keygen -t rsa -o .ssh/authorized_keys
- C. chown root:root .ssh/authorized_keys
- D. chmod 600 .ssh/authorized_keys
Cộng đồng
0 bình luận công khai. Tên thành viên được ẩn một phần.