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
B . /etc/hostname
C . /etc/services
D . /etc/ssh/sshd_config
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.
Latest XK0-005 Dumps Valid Version with 136 Q&As
Latest And Valid Q&A | Instant Download | Once Fail, Full Refund