forked from docs/doc-exports
Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com> Co-authored-by: guoyanyan <guoyanyan3@huawei.com> Co-committed-by: guoyanyan <guoyanyan3@huawei.com>
2.9 KiB
2.9 KiB
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