XK0-005 · Question #489
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?
The correct answer is D. /etc/ssh/sshd_config. 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…
Question
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?
Options
- A/etc/host.conf
- B/etc/hostname
- C/etc/services
- D/etc/ssh/sshd_config
How the community answered
(42 responses)- A5% (2)
- B2% (1)
- C7% (3)
- D86% (36)
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
Topics
Community Discussion
No community discussion yet for this question.