In Windows, Putty connects to the Virtual Machine Ubuntu and puttyubuntu.
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 ,:
I used putty to connect to ubuntu in the virtual machine.
Try telnet and ssh, but make sure that the two of your ubuntu servers have enabled the service.
Can you ping your machine code?
How can I configure virtualbox so that putty can be used in windows to connect to Ubuntu?
1. Install the Virtual Machine and set the network connection mode of Linux to bridge in the virtual machine. This is not hard to solve.
2. Set the IP addresses of xp and Linux to a CIDR Block and enable the SSH service in Linux. Ubuntu has never been used. Please go to the next hundred times. How can I enable the ssh service and set the startup.
3. Use SSH to connect to the ubuntu client. By default, ubuntu does not allow root login. SSH may not work either. Use your new user name. You can try it.
4. The connection fails. You can close both the firewall of xp and ubuntu to see if it can be connected.
The above is my experience.
When I configure the zookeeper server, ssh can be connected, but Linux cannot connect to the xp database. I was bored and later found that it was a problem with the xp firewall. Some time ago, I failed to use the bridge and nat methods to access the Internet. I checked that it was the role of the linux firewall.
Therefore, there are usually no problems with these aspects. Good luck