All Products
Search
Document Center

:Common remote connection and Data Transmission Service tools for Linux instances

Last Updated:Apr 25, 2022

Disclaimer: This article may contain information about third-party products. Such information is for reference only. Alibaba Cloud does not make a guarantee in any form of the performance and reliability of the third-party products, and potential impacts of operations on these products.

 

Overview

This article mainly introduces two commonly used remote connection and Data Transmission Service tools for Linux instances, which are third-party software. Alibaba Cloud is not responsible for maintaining the security of third-party software. Before performing any operations on data security risk, you need to create snapshots to prevent data loss.

 

Description

Take note of the following items:

  • Before you perform high-risk operations such as modifying the specifications or data of an Alibaba Cloud instance, we recommend that you check the disaster recovery and fault tolerance capabilities of the instance to ensure data security.
  • Before you modify the specifications or data of an Alibaba Cloud instance, such as an Elastic Compute Service (ECS) instance or an ApsaraDB RDS instance, we recommend that you create snapshots or enable backups for the instance. For example, you can enable log backups for an ApsaraDB RDS instance.
  • If you have granted specific users the permissions on sensitive information, such as usernames and passwords, or submitted sensitive information in the Alibaba Cloud Management Console, we recommend that you modify the sensitive information at the earliest opportunity.

This topic provides the following two commonly used remote connection and Data Transmission Service tools for Linux instances. The security group allows the ports to be used by the Data Transmission Service. For more information, see the documentation of security group rules for typical applications. For more information, see Typical applications of common ports.

 

SSH Secure Shell Client

SSH Secure Shell Client is a commonly used tool for remote connection Linux and FTP function, which is simple and convenient to operate. The following section describes how to install and use a SSH Secure Shell Client to connect to a Linux instance in Windows.

  1. Download and install the SSH Secure Shell Client.
  2. Run the SSH Secure Shell Client and click File > Quick Connect.
  3. Enter the following parameters and click Connect Connect to the Linux instance.
    • Host Name: the public IP address of your Linux instance. If you do not have a public IP address, you can connect through the Elastic IP Address. For more information, see the Elastic IP Address overview.
    • User Name: is the username, as root in the example.
    • Port Number: is the communication port, as 22 in the example.
    • Authentication Method: For the authentication method, you can select Password.
  4. Optional. When you log on for the first time, click Yes.
  5. Enter your Linux instance logon password and click OK to connect to the Linux instance.
  6. Click New File Transfer Window.
  7. You can upload files to a Linux instance on this interface.

 

WinSCP

WinSCP is an open source graphical SFTP client for SSH used in Windows and supports the SCP protocol. Its main function is to copy files securely between local and remote computers, and to edit files directly. The following steps provide steps to install and use WinSCP to connect to a Linux instance on a Windows desktop.

  1. Download and install the WinSCP tool. Open and run WinSCP.
  2. Enter the following parameters and click Log On to connect to the Linux instance.
    • Host Name: the public IP address of your Linux instance. If you do not have a public IP address, you can connect through the Elastic IP Address. For more information, see the Elastic IP Address overview.
    • Port Number: the communication port, as 22 in the example.
    • Username: the username of the Linux instance, as root in the example.
    • Password: the logon password of the root user.
      {6922C9E9-0F70-48EE-A30E-730967F65DA8}_20191128163328.png 
  3. On the page that appears, select Yes.
    {144B402C-6D3A-4B0D-A5B8-719FDB383EFD}_20191129113225.png
  4. The left side is the file of the Windows system, and the right side is the file of the Linux. Drag the file of the Windows system to the right window to upload the file to the Linux server.
    {97B51A7A-D810-4BED-B5E4-03A11B7EE60A}_20191129113548.png
  5. Enter OK as prompted to upload the file to the Linux.
    TB1Q0DrIVXXXXXsXpXXXXXXXXXX.png
  6. Log on to the Linux instance and run the following command to confirm that the file is uploaded:
    ll
    If an output similar to the following one is displayed, Python is installed.
    TB16eW9IVXXXXcMaXXXXXXXXXXX.png

 

References

 

Applicable scope

  • Elastic Compute Service (ECS)