ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 15 - XK0-005 discussion

Report
Export

A cloud engineer needs to change the secure remote login port from 22 to 49000. Which of the following files should the engineer modify to change the port number to the desired value?

A.
/etc/host.conf
Answers
A.
/etc/host.conf
B.
/etc/hostname
Answers
B.
/etc/hostname
C.
/etc/services
Answers
C.
/etc/services
D.
/etc/ssh/sshd_config
Answers
D.
/etc/ssh/sshd_config
Suggested answer: D

Explanation:

The file /etc/ssh/sshd_config contains the configuration settings for the SSH daemon, which handles the secure remote login. To change the port number, the engineer should edit this file and modify the line that says Port 22 to Port 49000. The other files are not related to the SSH service. Reference: CompTIA Linux+ (XK0-005) Certification Study Guide, Chapter 13: Managing Network Services, page 411.

asked 02/10/2024
Borja Arranz Palenzuela
38 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first