How to Install WinSCP and Transfer File from Windows to Virtual Machine

You may wonder how to install WinSCP on your Windows and get an access to transfer file from Windows to Virtual Machine. However, it is such a complicated way to do it when you want to transfer files to Virtual Machine. Then, make sure that you’ve already installed at least one virtual machine software on your computer.

Section 1: How to Install WinSCP on your Windows

Once you downloaded the WinSCP program that you can get from http://winscp.net/download/winscp418.exe. Well, it is a great time for you to install this program on your computer. Let’s follow some steps below!

  • First, go to the folder where the downloaded file of WinSCP is located.
  • Then, open the WinSCP installer and accept the license agreement.

open the WinSCP installer and accept the license agreement

  • Click on the Next button.
  • Here, you have to choose your preferred interface style. Click on the Next button.

choose your preferred interface style

  • Hit the Install button to start installing the WinSCP program.

Hit the Install button to start installing the WinSCP program.

  • After the installing process is completed. Click on the Finish button.

Now, the WinSCP is installed and ready to use.

Section 2: How to Transfer File from Windows to Virtual Machine with WinSCP

Once you have installed WinSCP on your Windows, it means that you can start running it to transfer any files from Windows to Virtual Machine. Here, we will explain how to transfer files from Windows to Virtual Machines and  some operating systems.

Transfer File from Windows to Virtual Machine

These ways below are specified to transfer files from Windows to virtual machines. Generally, the ways are appropriate for all virtual machine softwares that you have installed on your Windows. Here are the ways:

  • Firstly, you have to open WinSCP on your computer.
  • Then, enter a hostname or IP address and a port along with your credentials to login to the virtual machine.
  • If you accept any authentication prompts, you need to click “Yes” or “Continue”.
  • Now, you can drag and drop the files that you want to transfer between Windows and the virtual machine.

Those are all ways that you can do if you want to transfer files from Windows to Virtual Machine. Well, the recommended virtual machines for Windows will be mentioned in the below.

Transfer file from Windows to Linux

Apart from Virtual Machine, you can also transfer a file from Windows to Linux. So, here are the ways to do it:

  • Firstly, you need to open the WinSCP program.
  • Then, enter your IP hostname, username and password, and the default port 22 along with your credentials to login to Linux. The default username for Linux is ec2-user.
  • If you successfully connected to the Linux server. You will see the computer you are using (windows) on the left and the Linux you are remote on on the right.
  • Well, to transfer files from Windows to Linux, it is simply a way to drag the file that you want from the left to right screen.
  • Then, determine the private key for your instance. For private keys, you can enter the path to your private key or you can click the “…” button to look for the file.
  • For the newer version of WinSCP, you have to choose Advanced to open the Advanced site settings under SSH option.
  • Then, click the Authentication to get the Private key file setting.
  • Last, you need to click Login to connect or click Yes to add the host fingerprint to the host cache.

Transfer file from Windows to Ubuntu

Before you are able to transfer files from Windows to Ubuntu, at least there are some options that you have to recognize. Here are they:

Option 1: Before booting Ubuntu, inside the Ubuntu VM Virtualbox setup, specify a share folder. After logging into Ubuntu, the users can create a new directory,  for example / media / vboxshared. Then, mount the drive using the command sudo mount -t vboxsf SHARENAME / media / vboxshared. Enter your password when prompted for a password.

Option 2: Before booting Ubuntu, add a new Network adapter and select ‘Bridged Adapter’. Then after logging into Ubuntu, run the command ifconfig -a | moreto get the ip address of the new network adapter. On Windows, use WinSCP or FileZilla to transfer files to Ubuntu.

Here, we will use the WinSCP program to transfer files from Windows to Ubuntu. So, let’s follow some steps below!

  • First of all, you need to open the WinSCP program.
  • Then, enter your IP hostname, username and password, and the default port 22 along with your credentials to login to Ubuntu. The default username for Ubuntu is ubuntu.
  • If you successfully connect to Ubuntu. You will see the computer you are using (windows) on the left and the Ubuntu you are remote on on the right.
  • Well, to transfer a file from Windows to Ubuntu, you just need to drag the file from left to the right.
  • Then, determine the private key for your instance. For private keys, you can enter the path to your private key or you can click the “…” button to look for the file.
  • For the newer version of WinSCP, you have to choose Advanced to open the Advanced site settings under SSH option.
  • Then, click the Authentication to get the Private key file setting.
  • Last, you need to click Login to connect or click “Yes” to add the host fingerprint to the host cache.

What is a Virtual Machine?

Virtual machine is a software that has the ability to create virtual computers that have the same capabilities as real computers depending on the specifications you set from the virtual machine software itself. In short, you can create a computer on a computer using virtual machine software.

Need to know, the software that you have installed on a virtual machine will not affect the real computer. It means that if your virtual machine that you build is infected with any viruses or malwares or damage due to registry, corruption and many more, of course it will not influence your real computer.

Here are the top virtual machines for Windows:

  1. VirtualBox

VirtualBox

This software allows the users to get access to multiple operating systems on one desktop. It also offers 3D visualization, laudable hardware support and multi-screen resolutions.

  1. Windows Virtual PC

Windows Virtual PC

The Virtual PC software has an ability to virtualize a standard IBM PC compatible device and all related hardware.

  1. Kernel-based Virtual Machine

kvm

This software is effectively to virtualize infrastructure for Linux kernel.

  1. VMware Workstation Player

VMware Workstation Player

This software is able to perform all existing virtual appliances and create its own virtual machines using the same virtualization.

  1. Hyper-V

Hyper-V

The Hyper-V  virtual machine can be configured to expose the individual virtual machine to one or more networks.

Leave a Reply

Your email address will not be published. Required fields are marked *