Help Center/ Cloud Data Center/ User Guide/ Servers/ IMS (iMetal)/ Scenario 3: Creating a Private Image Using an ISO Image/ Installing an OS and Configuring the VM (Linux)/ Configuring Remote Login
Updated on 2026-01-31 GMT+08:00
Configuring Remote Login
- Run the following command to update the apt service:
sudo apt update # Update the service.
- Install the SSH service and modify configurations.
sudo apt update install openssh-server # Install the SSH service. sed -i '/^PermitRootLogin/d' /etc/ssh/sshd_config sed -i '/^PasswordAuthentication/d' /etc/ssh/sshd_config sed -i '/^UseDNS/d' /etc/ssh/sshd_config sed -i '/^ChallengeResponseAuthentication/d' /etc/ssh/sshd_config sh -c 'echo "PermitRootLogin yes" >>/etc/ssh/sshd_config' sh -c 'echo "PasswordAuthentication yes" >>/etc/ssh/sshd_config' sh -c 'echo "UseDNS no" >>/etc/ssh/sshd_config' sh -c 'echo "ChallengeResponseAuthentication no" >>/etc/ssh/sshd_config'
- Restart the service for the modification to take effect.
systemctl restart sshd # Restart the service for the modification to take effect.
Parent topic: Installing an OS and Configuring the VM (Linux)
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.See the reply and handling status in My Cloud VOC.
The system is busy. Please try again later.
For any further questions, feel free to contact us through the chatbot.
Chatbot