When the host is win and the virtual machine is ubuntu:
The following is the file transfer method, I don’t know the text (if shift+insert instead of ctrl-v doesn’t work, I really don’t know)
Method 1 (only supports files, not directories):
0. In virtual machine software such as vmware/virtualbox,
Set the Ubuntu virtual machine's settings - network to bridge or hostonly mode.
1. Download ssh and lrzsz on ubuntu:
$sudo apt-get install ssh lrzsz
2. Win next securecrt
3. After logging into ubuntu with securcret:
Upload the ubuntu files to win:
$sz the-file-in-ubuntu #Enter
Win files are transferred to ubuntu:
$rz -be #ENTER
A dialog box will pop up, select the file, click the button next to the file name,
This will add the file to the list below. The previous line of operation can be repeated multiple times,
Finally, click the button in the lower right corner.
btw, I forgot the name of the button... but you are so smart, you will be able to guess it.
Method 2:
1. Shared directory.
Method three:
1. Install vmtools. This is a legend I have heard. I have never used it and the effectiveness is not guaranteed.
When the host is win and the virtual machine is ubuntu:
The following is the file transfer method, I don’t know the text (if shift+insert instead of ctrl-v doesn’t work, I really don’t know)
Method 1 (only supports files, not directories):
0. In virtual machine software such as vmware/virtualbox,
Set the Ubuntu virtual machine's settings - network to bridge or hostonly mode.
1. Download ssh and lrzsz on ubuntu:
$sudo apt-get install ssh lrzsz
2. Win next securecrt
3. After logging into ubuntu with securcret:
Upload the ubuntu files to win:
$sz the-file-in-ubuntu #Enter
Win files are transferred to ubuntu:
$rz -be #ENTER
A dialog box will pop up, select the file, click the button next to the file name,
This will add the file to the list below. The previous line of operation can be repeated multiple times,
Finally, click the button in the lower right corner.
btw, I forgot the name of the button... but you are so smart, you will be able to guess it.
Method 2:
1. Shared directory.
Method three:
1. Install vmtools. This is a legend I have heard. I have never used it and the effectiveness is not guaranteed.
It is impossible to copy and paste the file directly. You can configure a shared directory, or install samba in ubuntu