ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 27 - XK0-005 discussion

Report
Export

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?

(Choose two.)

A.
wget
Answers
A.
wget
B.
ssh-keygen
Answers
B.
ssh-keygen
C.
ssh-keyscan
Answers
C.
ssh-keyscan
D.
ssh-copy-id
Answers
D.
ssh-copy-id
E.
ftpd
Answers
E.
ftpd
F.
scp
Answers
F.
scp
Suggested answer: D, F

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. The other options are incorrect because they are not related to copying key files. The command wget downloads files from the web, the command ssh-keygen generates key pairs, the command ssh-keyscan collects public keys from remote hosts, and the command ftpd is a FTP server daemon. Reference: CompTIA Linux+ (XK0-005) Certification Study Guide, Chapter 13: Managing Network Services, pages 408-410.

asked 02/10/2024
Dmitrii Nikolaevich
37 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first