All Products
Search
Document Center

Bastionhost:SFTP file transmission issues

Last Updated:Aug 06, 2026

This topic provides answers to some frequently asked questions about SFTP-based file transmission.

Why is an O&M engineer unable to access the file directory?

If an O&M engineer cannot access the file directory, you can perform the following operations to resolve the issue:

  • Check whether a password is configured for the host account on your bastion host and whether the O&M engineer has the permissions on the host account. If no passwords are configured for the host account and the O&M engineer does not have the permissions on the host account, the O&M engineer cannot access the file directory.

  • Check whether your bastion host is connected to the server. For more information, see Network diagnosis.

  • In the control policy, ensure that the SFTP Channel option is selected. For more information, see Manage control policies.

  • Check whether Secure File Transfer Protocol (SFTP)-based access is disabled on the server.

  • If you encounter a connection error when using a third-party FTP/SFTP client, such as FileZilla, to connect to the bastion host, perform the following checks:

    1. Check the network connection: Confirm whether the error occurs because you are connecting to the private endpoint of the bastion host. Make sure that the network between your on-premises environment and Alibaba Cloud is connected.

    2. Test with a different client: Try connecting with another SFTP/FTP client, such as WinSCP or Xftp, to rule out compatibility issues that are specific to a client such as FileZilla.

    3. Use an alternative method: If the error persists when you use graphical clients, use the SFTP command line to transfer files instead.

If you still cannot access the file directory after performing these checks, the issue may be due to a cached directory on the client. To resolve this, click ... to return to the Bastionhost asset list and refresh the page.

To refresh, right-click a blank area in the asset list and select Refresh from the context menu.

What do I do if the file directory is corrupted and unreadable after I log on to an SFTP-based client?

To switch the Bastionhost encoding standard, double-click !now_gb18030.next_utf-8 and then refresh the client page. If your Xftp client displays a Cannot show remote folder warning after you log on via SFTP, click OK to close the dialog. Then, find the encoding switch folder, such as !now_UTF-8,next_gb..., in the remote directory.

Note

! now_gb18030.next_utf-8 indicates that the default encoding standard of the current bastion host is GB 18030. After you double-click ! now_gb18030.next_utf-8, the encoding standard is changed to UTF-8.

What are the methods that I can use to upload and download files on a bastion host?

SSH-based O&M

  • You can use commands, such as lrzsz and scp, to upload and download files.

  • You can use SFTP-based tools to transfer files. For more information, see Overview.

Remote Desktop Protocol (RDP)-based O&M

  • You can use disk mapping to upload and download files.

  • You can use the clipboard to copy (Ctrl+C) and paste (Ctrl+V) files.

What do I do if no file list is displayed or if I am unable to upload files during web-based O&M?

  1. Contact the administrator to check whether SFTP Channel is enabled for the control policy.

  2. Check whether the administrator granted you the directory permissions of the Bastionhost account.

  3. If batch download shows as successful but the downloaded files cannot be found locally, the issue may be caused by a change in your browser's default download path or the files being blocked by local security software. Check your browser's download settings and the quarantine area of your antivirus software. If the issue persists, use an SFTP client such as Xftp or WinSCP as an alternative to web-based file transfer for better reliability.

  4. If downloading a large file (for example, a compressed package larger than 2 GB) via the Bastionhost is unresponsive or fails, the issue may be caused by the file being too large, which can interrupt the transfer. We recommend that you split the large file into smaller parts before downloading.

Does Bastionhost support rate limiting for SFTP-based file transmission?

Bastionhost does not support configuring a rate limit for a single file download or upload.