I installed the Ubuntu operating system with VirtualBox in the Windows operating system.
It is not very convenient to operate Ubuntu terminal in VirtualBox, for example I want to copy some commands from Windows to Ubuntu Terminal. This cross-system copy-and-paste operation is supported by Putty. VirtualBox cannot adjust the font size in the console, and putty can easily modify the font in the console.
So how to use putty to connect to the Ubuntu system installed in the local virtual machine?
(1). The virtual network of Ubuntu is set to NAT mode:
(2). Select Advanced Mode to open port Forwarding:
Maintain one of the following rules:
(3). Open putty, create a new logon session, host name enter the host IP and host Port maintained in VirtualBox. Connection type selected as SSH
(4). Install SSH Server in VirtualBox ubuntu:
sudo apt-get install Openssh-server
To start the SSH service:
Ensure that the SSH service starts successfully.
You can then use the Putty login to install Ubuntu in VirtualBox:
To get more original Jerry's technical articles, please follow the public number "Wang Zixi" or scan the QR code below:
How to use Putty login to install Ubuntu in VirtualBox