In Windows, Putty connects to the Virtual Machine Ubuntu
The topic of this article is to use Putty in Windows to connect to Ubuntu in the virtual machine.
In fact, there have been a lot of articles to address such a problem. You can refer to and learn from blogs, but you still encounter many problems in your learning process. Close up your entire problem solving process.
Putty is a lightweight tool that can be downloaded directly without installation. You can click open and enter the information to log on to Ubuntu In the VM.
Problem 1: Openssh must be installed on Ubuntu.
Under Terminal,
Sudo apt-get isatall openssh-server
You can. After the installation is complete, ssh should have been started. You can view it using ps-e | grep ssh. The ssh-related process is successfully displayed.
Problem 2: Disable the Ubuntu Firewall
In fact, I am not sure this is not a problem, because some articles say that the firewall has been disabled when Ubuntu is started.
Write down the Ubuntu firewall command:
Sudo ufw disable
Problem 3: The network adapter connection mode of the virtual machine should use the bridge mode.
Finally, when using Putty to connect to Ubuntu, it is best to test whether the two ends can be pinged first.
Enter the Ubuntu IP address in Putty to log on to the VM.
Finally, using the VM Vim in Putty is good ,: