Help Center/
Migration Center/
Best Practices/
Storage Migration/
Connecting to the File Directory Through SFTP
Updated on 2025-12-02 GMT+08:00
Connecting to the File Directory Through SFTP
This section describes how to connect to the file directory through SFTP.
Procedure
- Log in to the ECS by referring to Logging In to the ECS Using CloudShell to Check Migration Management Node Logs.
- Run the following command to edit the sshd_config file:
vim /etc/ssh/sshd_config
- Delete the comment of the following information:
Subsystem sftp /usr/libexec/openssh/sftp-server
Figure 1 sshd_config file with no comment
- Restart the ECS or run the following command to restart the sshd service:
service sshd restart
- Click
in the upper-left corner to create a session. - Log in to the server again to confirm that the file directory is properly displayed.

Feedback
Was this page helpful?
Provide feedbackThank 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