|
|
|
|
Copy files between Windows and Linux
We will use WinSCP program which allows us to copy files between Windows and Linux computers through an encrypted SSH connection.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1.
|
|
|
WinSCP is an open source free SFTP client, SCP client, FTPS client and FTP client for Windows.
Its main function is file transfer between a local and a remote computer and is usually one of the easiest ways to copy files between Windows and Linux machines.
|
|
|
3.
|
|
|
After successful download run the setup file.
Program can be installed with default settings.
|
|
|
4.
|
|
|
Now start the program.
Click button New to define new connection to the remote Linux computer.
Fill out Host name (IP address) of the Linux computer.
You must also specify Username and Password of the user account on the remote computer.
|
|
|
5.
|
|
|
On the remote Linux computer you need to have SSH server installed.
Most of the Linux distributions already includes SSH server.
SSH server installation depends on Linux distribution, but in most of the cases it can be installed with one of the following commands: sudo apt-get install openssh-server or yum install openssh-server
|
|
|
6.
|
|
|
Now WinSCP should be able to connect to Linux computer.
Click button Login.
When connecting for the first time, you will be presented with a security dialog. Click button Yes to continue.
|
|
|
7.
|
|
|
You should now be successfully connected to remote computer.
On left panel of the WinSCP you should see files from you local computer and on the right panel you should see files from the remote Linux computer.
|
|
|
8.
|
|
|
To copy the files you can drag and drop the files between left and right panel with your mouse.
As an alternative you can also use keyboard shortcut F5.
|
|
|
|
|
|
|
|
|
|