Updated on 2022-09-09 GMT+08:00
Configuring the SSH Service
- After Linux is installed on the host, open the Linux terminal and run the following command to check the SSH service status:
Check whether the SSH service is enabled and whether its status is active.
- If the SSH service is not enabled, run the service enable sshd command.
- If the status is not active, run the service sshd start command.
- Modify the SSH service configuration file to enable user root to log in to the host using SSH.
Configuration file path: /etc/ssh/sshd_config
Set the value of PermitRootLogin to yes.
- Run the following command to restart the SSH service after the configuration is complete:
Parent topic: Appendix
What is your overall rating for this page?
0
1
2
3
4
5
6
7
8
9
10
Very dissatisfiedVery satisfied
Thank you very much for your feedback. We will continue working to improve the documentation.
The system is busy. Please try again later.