# Copy files from Windows host to virtualized Rocky Linux OS on VMWare

**URL:** <https://forums.rockylinux.org/t/copy-files-from-windows-host-to-virtualized-rocky-linux-os-on-vmware/5474>\
**Category:** Social & Community\
**Created:** [February 24, 2022, 12:36pm UTC](https://forums.rockylinux.org/t/copy-files-from-windows-host-to-virtualized-rocky-linux-os-on-vmware/5474 "2022-02-24T12:36:45Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![aembode](https://avatars.discourse-cdn.com/v4/letter/a/e79b87/32.png) [@aembode](https://forums.rockylinux.org/u/aembode)\
**Post date:** [February 24, 2022, 12:36pm UTC](https://forums.rockylinux.org/t/copy-files-from-windows-host-to-virtualized-rocky-linux-os-on-vmware/5474/1 "2022-02-24T12:36:45Z")

</div>

Hello,

I use to work on a VM with Red Hat 5 OS and copy files from my host (Windows 10) to the VM easily.

I have newly created a VM with the Rocky Linux OS installed on it. The issue is I am not able to copy files from my host (Windows 10) to the VM (Rocky Linux)

BR,

aembode

---

<div class="post-metadata">

**Author:** ![jlehtone](https://avatars.discourse-cdn.com/v4/letter/j/e9a140/32.png) [@jlehtone](https://forums.rockylinux.org/u/jlehtone)\
**Post date:** [February 24, 2022, 12:39pm UTC](https://forums.rockylinux.org/t/copy-files-from-windows-host-to-virtualized-rocky-linux-os-on-vmware/5474/2 "2022-02-24T12:39:58Z")

</div>

How did you copy to RHEL 5?

---

<div class="post-metadata">

**Author:** ![aembode](https://avatars.discourse-cdn.com/v4/letter/a/e79b87/32.png) [@aembode](https://forums.rockylinux.org/u/aembode)\
**Post date:** [February 24, 2022, 1:29pm UTC](https://forums.rockylinux.org/t/copy-files-from-windows-host-to-virtualized-rocky-linux-os-on-vmware/5474/3 "2022-02-24T13:29:26Z")

</div>

I did copy from Windows host folder and while RHEL5 is running as a VM launched by VMWARE, I went on RHEL5 and pasted the folder and it worked

When I try to do the same on Rocky Linux VM launched by VMWARE in /home/Username/Documents for example the “paste” option on right-click is blank as if the clipboard was empty

---

<div class="post-metadata">

**Author:** ![shalom](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.rockylinux.org/shalom/32/1686_2.png) [@shalom](https://forums.rockylinux.org/u/shalom)\
**Post date:** [February 24, 2022, 1:32pm UTC](https://forums.rockylinux.org/t/copy-files-from-windows-host-to-virtualized-rocky-linux-os-on-vmware/5474/4 "2022-02-24T13:32:04Z")

</div>

Try to use winscp to copy over ssh protocol.

---

<div class="post-metadata">

**Author:** ![aembode](https://avatars.discourse-cdn.com/v4/letter/a/e79b87/32.png) [@aembode](https://forums.rockylinux.org/u/aembode)\
**Post date:** [February 24, 2022, 2:23pm UTC](https://forums.rockylinux.org/t/copy-files-from-windows-host-to-virtualized-rocky-linux-os-on-vmware/5474/5 "2022-02-24T14:23:52Z")

</div>

@shalom could you please help on how to achieve this ? I did the below.  
dans la VM Rocky Linux :  
ifconfig ens33 192.168.16.242 netmask 255.255.255.0

then I launched Winscp and filled the form as following :

- File protocol : SFTP
- host name : 192.168.16.242
- Port Number : 22 ( I let the default one)
- User name : root
- Password : [password]

and nothing happened…

i even tried to ping the IP 192.168.16.242 from my host (Windows 10) and it didn’t work… ☹

---

<div class="post-metadata">

**Author:** ![shalom](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.rockylinux.org/shalom/32/1686_2.png) [@shalom](https://forums.rockylinux.org/u/shalom)\
**Post date:** [February 24, 2022, 2:33pm UTC](https://forums.rockylinux.org/t/copy-files-from-windows-host-to-virtualized-rocky-linux-os-on-vmware/5474/6 "2022-02-24T14:33:59Z")

</div>

Please run and command on in your VM and ipconfig/all command in your base machine and share screen shot.

It seems it is related to routing issue.

Ref: command used to list all ip address and network interface card.  
 command used to list all available routes in your VM.

---

<div class="post-metadata">

**Author:** ![aembode](https://avatars.discourse-cdn.com/v4/letter/a/e79b87/32.png) [@aembode](https://forums.rockylinux.org/u/aembode)\
**Post date:** [February 24, 2022, 4:09pm UTC](https://forums.rockylinux.org/t/copy-files-from-windows-host-to-virtualized-rocky-linux-os-on-vmware/5474/7 "2022-02-24T16:09:55Z")

</div>

![NETCONF](https://us1.discourse-cdn.com/flex020/uploads/rockylinux/original/2X/d/df64c4562a988f813865361ea9746e73c5dd9566.jpeg)

---

<div class="post-metadata">

**Author:** ![shalom](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.rockylinux.org/shalom/32/1686_2.png) [@shalom](https://forums.rockylinux.org/u/shalom)\
**Post date:** [February 24, 2022, 4:21pm UTC](https://forums.rockylinux.org/t/copy-files-from-windows-host-to-virtualized-rocky-linux-os-on-vmware/5474/8 "2022-02-24T16:21:20Z")

</div>

@aembode if you check Host (windows 10) screenshot then you easily figure out that there is no interface assigned to same subnet means 192.168.16.0/24. This is the main reason your not able to connect with your VM.

Please resolve your network adapter configuration.

---

<div class="post-metadata">

**Author:** ![Sheng](https://avatars.discourse-cdn.com/v4/letter/s/839c29/32.png) [@Sheng](https://forums.rockylinux.org/u/Sheng)\
**Post date:** [May 16, 2022, 3:56pm UTC](https://forums.rockylinux.org/t/copy-files-from-windows-host-to-virtualized-rocky-linux-os-on-vmware/5474/9 "2022-05-16T15:56:53Z")

</div>

@ aembode  
Looks like you are usibg to GUI.  
If so,  
check: vmware tool installation / vswitch / VLAN ID / network ID  
check: firewall rules or disable it.  
check: lsof -nPi:ssh  
option #1. To install FIleZilla client on Win. host.  
option #2. To use a terminal shell then use sftp command-line.  
options #3. To write a script.  
options #4. SAMBA

-Sheng

---

<div class="post-metadata">

**Author:** ![brian](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.rockylinux.org/brian/32/5777_2.png) [@brian](https://forums.rockylinux.org/u/brian)\
**Post date:** [August 25, 2023, 3:49am UTC](https://forums.rockylinux.org/t/copy-files-from-windows-host-to-virtualized-rocky-linux-os-on-vmware/5474/10 "2023-08-25T03:49:41Z")

</div>


