If you’re like me, you probably spend a lot of time working in a Ubuntu virtual machine. In this tutorial, we will show you how to use PUTTY to connect to your Ubuntu virtual machine. PUTTY is a free and open source terminal emulator application which can act as a client for the SSH, Telnet, rlogin, and raw TCP computing protocols.

Contents
What is Putty?
Putty is a free and open source terminal emulator application which can act as a client for the SSH, Telnet, rlogin, and raw TCP computing protocols and as a serial console client.
The term “terminal emulator” is used somewhat loosely in this document; we’ve seen it used to mean anything from a simple rlogin connection through to something which very much resembles an X Window System workstation running xterm.
What is an Ubuntu Virtual Machine?
Ubuntu is a free, open-source operating system that can be installed on a wide variety of hardware, including virtual machines. A virtual machine is a software emulation of a physical computer, and it allows you to run multiple operating systems on the same physical machine.
Ubuntu is a popular choice for virtual machines because it is very user-friendly and has a large community of users and developers who can provide support. It is also relatively easy to install and configure.
If you want to use Ubuntu as a virtual machine, you will need to download and install it on your physical machine first. Once Ubuntu is installed, you can then create a virtual machine using any number of software programs, such as VMware Player or VirtualBox.
Once your virtual machine is set up, you can install Putty on it. Putty is a free, open-source SSH client that can be used to connect to remote servers. Once Putty is installed, you can use it to connect to your Ubuntu virtual machine and run commands as if you were logged in directly on the server.
How to Connect Putty to an Ubuntu Virtual Machine
Assuming you have an Ubuntu virtual machine already set up and running, you can connect to it via PuTTY in order to run commands and transfer files. To do this, you will need to know the IP address of your Ubuntu VM.
Once you have PuTTY installed and the IP address of your VM, launch PuTTY and enter the IP address under “Host Name (or IP address)”. Then, click “Open” to start the connection.
You will be prompted to enter the username for your Ubuntu VM. Once you have entered the username, hit Enter and then enter the password. You should now be logged into your Ubuntu VM via PuTTY!
Tips for Connecting Putty to an Ubuntu Virtual Machine
There are a few things to keep in mind when connecting Putty to an Ubuntu virtual machine. Make sure that you have the latest version of Putty installed, as well as the latest version of the Ubuntu operating system.
In addition, it is important to remember that the default username for Ubuntu is “root”, and the default password is “toor”. If you have changed these defaults, you will need to use the new username and password when connecting.
Finally, make sure that your Ubuntu virtual machine is configured to allow remote connections before attempting to connect with Putty.
FAQs
I’ve downloaded Putty. Now what?
Open Putty and enter the hostname or IP address of your Ubuntu VM in the “Host Name” field. Leave the “Port” field set to 22. Select “SSH” from the radio buttons below and then click “Open” to start the connection.
What do I do when Putty asks me if I trust the host I’m connecting to?
Trust is important! If you get this message, it means that Putty hasn’t seen this particular host before. To continue, click “Yes”.
How do I log in?
When prompted, enter your username and password for the Ubuntu VM. If you are logging in for the first time, you will be asked to change your password. Once you have successfully logged in, you should see a command prompt that looks something like this: user@hostname:~$. You can now run commands on your Ubuntu VM!
Conclusion
In this article, we have shown you how to connect to your Ubuntu VM using SSH through Putty. We hope you found this guide useful.