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?
A. restorecon -rv .ssh/authorized_key
B. mv .ssh/authorized_key .ssh/authorized_keys
C. systemctl restart sshd.service
D. chmod 600 mv .ssh/authorized_key
A junior administrator is trying to set up a passwordless SSH connection to one of the servers. The administrator follow
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
A junior administrator is trying to set up a passwordless SSH connection to one of the servers. The administrator follow
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!