XK0-005 · Question #10451
A new Linux systems administrator just generated a pair of SSH keys that should allow connection to the servers. Which of the following commands can be used to copy a key file to remote servers?…
The correct answer is D. ssh-copy-id F. scp. The commands ssh-copy-id and scp can be used to copy a key file to remote servers. The command ssh-copy-id copies the public key to the authorized_keys file on the remote server, which allows the user to log in without a password. The command scp copies files securely over SSH…
Question
Options
- Awget
- Bssh-keygen
- Cssh-keyscan
- Dssh-copy-id
- Eftpd
- Fscp
How the community answered
(63 responses)- A2% (1)
- C5% (3)
- D92% (58)
- E2% (1)
Explanation
The commands ssh-copy-id and scp can be used to copy a key file to remote servers. The command ssh-copy-id copies the public key to the authorized_keys file on the remote server, which allows the user to log in without a password. The command scp copies files securely over SSH, which can be used to transfer the key file to any location on the remote server.
Topics
Community Discussion
No community discussion yet for this question.