Software recommendation: open source free WinSCP to build a sharing platform

Nowadays, many servers for enterprise business are using Linux system, because Linux system supports efficient command line operation, so that many businesses can run automatically as long as the commands are set up. However, Linux system is still unfamiliar to many friends after all, so it is very inconvenient to deploy on the server. Now you can use the open source free WinSCP to achieve file deployment under our familiar Windows system.

First of all, go to https://sourceforge.net/projects/winscp/files/latest/download下载所需的软件 and start WinSCP, then a new site window will pop up automatically. Here, enter the host name (i.e. IP address of the server) and login account and password as prompted (Figure 1).

201905wsc1

Figure 1 New site

For the IP address of the server, if you are a user of AliCloud, you can switch to “Console → Cloud Server ECS” after logging in to AliCloud, and select the server you need to connect to and then you can see its IP address (Figure 2).

201905wsc2

Figure 2 View IP address

If you do not have an AliCloud account, you can enter the Linux system as root and type “ifconfig -a” in its terminal window, so that you can see the IP address of the current server in the command prompt window (Figure 3).

201905wsc3

Figure 3 View IP using command line

After successful connection in the WinSCP window, you can see the local content in the left pane, and the directory on the Linux server in the right pane. If you want to deploy commands to the Linux server, the actual operation is very simple, just drag the locally prepared commands directly to the corresponding directory structure in the right pane (Figure 4).

201905wsc4

Figure 4 Accessing Linux directories under Windows

Similarly, to download a file from the Linux server locally, just drag the file on the right to the left pane and save it. As you can see with WinSCP, we don’t need to operate under complicated command line. File transfer and deployment can be done just by dragging and dropping under Windows, which greatly facilitates our file management on Linux servers.

Tip: If the connection is rejected when WinSCP prompts you to connect, it is mainly because SSHD is not installed on the Linux server, you can type “sudo apt-get install openssh-server” in the terminal window and wait for installation, then type “y” to install.

Leave a Comment