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

  1. Log in to the ECS by referring to Logging In to the ECS Using CloudShell to Check Migration Management Node Logs.
  2. Run the following command to edit the sshd_config file:

    vim /etc/ssh/sshd_config

  3. Delete the comment of the following information:

    Subsystem sftp /usr/libexec/openssh/sftp-server
    Figure 1 sshd_config file with no comment

  4. Restart the ECS or run the following command to restart the sshd service:

    service sshd restart

  5. Click in the upper-left corner to create a session.
  6. Log in to the server again to confirm that the file directory is properly displayed.