Uploaded July 2026 | Updated September 2026, 2 weeks ago
# How to Access and Control a Linux Virtual Machine Using PuTTY
In this step-by-step tutorial, you’ll learn how to access and fully control a Linux virtual machine using **PuTTY** from Windows 11. PuTTY is a popular SSH client that allows you to securely connect to Linux systems running in VirtualBox, VMware, or cloud environments and manage them using the command line.
This guide is perfect for beginners learning Linux, system administrators managing servers, DevOps engineers working with remote systems, and students practicing Linux commands in a virtual environment.
---
## What You Will Learn
By the end of this tutorial, you will be able to:
* Connect to a Linux VM using PuTTY
* Run Linux commands remotely from Windows 11
* Manage files, users, and services on your VM
* Control your Linux system using SSH securely
---
## Step 1: Install PuTTY on Windows 11
1. Download PuTTY from the official website
2. Install the Windows 64-bit version
3. Open PuTTY after installation
PuTTY is a lightweight SSH client used to connect to Linux systems securely over a network.
---
## Step 2: Find Your Linux VM IP Address
On your Linux virtual machine, open the terminal and run:
```bash id="x8v9k1"
ip a
```
Look for an IP like:
* `192.168.x.x`
* `10.0.x.x`
This is the address you will use in PuTTY.
---
## Step 3: Enable SSH on Linux VM
Install and start the SSH service:
For Ubuntu/Debian:
```bash id="sshsetup1"
sudo apt update
sudo apt install openssh-server -y
sudo systemctl enable ssh
sudo systemctl start ssh
```
Check status:
```bash id="sshstatus1"
sudo systemctl status ssh
```
---
## Step 4: Configure VirtualBox / VMware Network
To allow PuTTY access:
* **Bridged Adapter (Best Option):** VM gets same network as host
* **NAT + Port Forwarding:** Forward port 22 to VM
* **Host-Only:** Works only between host and VM
👉 For beginners, Bridged Adapter is the easiest and most reliable.
---
## Step 5: Connect Using PuTTY
1. Open PuTTY
2. Enter Linux VM IP in **Host Name**
3. Set Port: `22`
4. Select **SSH**
5. Click **Open**
---
## Step 6: Login to Your Linux VM
A terminal window will appear:
* Enter your Linux username
* Enter password (hidden while typing)
If correct, you are now connected to your Linux VM.
---
## Step 7: Control Your Linux VM Using PuTTY
Once connected, you can fully manage your Linux system:
### System Control Commands
```bash id="syscmd1"
sudo reboot
sudo shutdown now
```
### File Management
```bash id="filecmd1"
ls
cd /home
mkdir test
nano file.txt
```
### System Updates
```bash id="update1"
sudo apt update && sudo apt upgrade -y
```
### Process Management
```bash id="proc1"
top
ps aux
```
---
## Step 8: Improve Security with SSH Keys (Optional)
Instead of passwords, you can use SSH keys:
* Generate key using PuTTYgen
* Add public key to `~/.ssh/authorized_keys`
* Login without password
This is widely used in production servers.
---
## Common Problems & Fixes
**Connection timed out**
* Check VM IP address
* Ensure SSH service is running
* Use Bridged networking
**Permission denied**
* Wrong username/password
* SSH key mismatch
**Port 22 not working**
```bash id="firewall1"
sudo ufw allow ssh
```
---
## Final Thoughts
Using PuTTY to access and control a Linux virtual machine gives you real-world experience in system administration and server management. Once connected, your VM behaves like a remote Linux server that you can fully control from Windows 11.
---
If you found this tutorial helpful, don’t forget to like, subscribe, and turn on notifications for more Linux, networking, virtualization, and DevOps tutorials.
#PuTTY #LinuxVM #SSH #Windows11 #LinuxTutorial #VirtualMachine #SystemAdministration #Networking #DevOps #CyberSecurity #Ubuntu #VirtualBox #VMware #RemoteAccess #LinuxCommands #ServerManagement #TechTutorial #ITTraining #OpenSSH #LearnLinux
# How to Access and Control a Linux Virtual Machine Using PuTTY
In this step-by-step tutorial, you’ll learn how to access and fully control a Linux virtual machine using **PuTTY** from Windows 11. PuTTY is a popular SSH client that allows you to securely connect to Linux systems running in VirtualBox, VMware, or cloud environments and manage them using the command line.
This guide is perfect for beginners learning Linux, system administrators managing servers, DevOps engineers working with remote systems, and students practicing Linux commands in a virtual environment.
---
## What You Will Learn
By the end of this tutorial, you will be able to:
* Connect to a Linux VM using PuTTY
* Run Linux commands remotely from Windows 11
* Manage files, users, and services on your VM
* Control your Linux system using SSH securely
---
## Step 1: Install PuTTY on Windows 11
1. Download PuTTY from the official website
2. Install the Windows 64-bit version
3. Open PuTTY after installation
PuTTY is a lightweight SSH client used to connect to Linux systems securely over a network.
---
## Step 2: Find Your Linux VM IP Address
On your Linux virtual machine, open the terminal and run:
```bash id="x8v9k1"
ip a
```
Look for an IP like:
* `192.168.x.x`
* `10.0.x.x`
This is the address you will use in PuTTY.
---
## Step 3: Enable SSH on Linux VM
Install and start the SSH service:
For Ubuntu/Debian:
```bash id="sshsetup1"
sudo apt update
sudo apt install openssh-server -y
sudo systemctl enable ssh
sudo systemctl start ssh
```
Check status:
```bash id="sshstatus1"
sudo systemctl status ssh
```
---
## Step 4: Configure VirtualBox / VMware Network
To allow PuTTY access:
* **Bridged Adapter (Best Option):** VM gets same network as host
* **NAT + Port Forwarding:** Forward port 22 to VM
* **Host-Only:** Works only between host and VM
👉 For beginners, Bridged Adapter is the easiest and most reliable.
---
## Step 5: Connect Using PuTTY
1. Open PuTTY
2. Enter Linux VM IP in **Host Name**
3. Set Port: `22`
4. Select **SSH**
5. Click **Open**
---
## Step 6: Login to Your Linux VM
A terminal window will appear:
* Enter your Linux username
* Enter password (hidden while typing)
If correct, you are now connected to your Linux VM.
---
## Step 7: Control Your Linux VM Using PuTTY
Once connected, you can fully manage your Linux system:
### System Control Commands
```bash id="syscmd1"
sudo reboot
sudo shutdown now
```
### File Management
```bash id="filecmd1"
ls
cd /home
mkdir test
nano file.txt
```
### System Updates
```bash id="update1"
sudo apt update && sudo apt upgrade -y
```
### Process Management
```bash id="proc1"
top
ps aux
```
---
## Step 8: Improve Security with SSH Keys (Optional)
Instead of passwords, you can use SSH keys:
* Generate key using PuTTYgen
* Add public key to `~/.ssh/authorized_keys`
* Login without password
This is widely used in production servers.
---
## Common Problems & Fixes
**Connection timed out**
* Check VM IP address
* Ensure SSH service is running
* Use Bridged networking
**Permission denied**
* Wrong username/password
* SSH key mismatch
**Port 22 not working**
```bash id="firewall1"
sudo ufw allow ssh
```
---
## Final Thoughts
Using PuTTY to access and control a Linux virtual machine gives you real-world experience in system administration and server management. Once connected, your VM behaves like a remote Linux server that you can fully control from Windows 11.
---
If you found this tutorial helpful, don’t forget to like, subscribe, and turn on notifications for more Linux, networking, virtualization, and DevOps tutorials.
#PuTTY #LinuxVM #SSH #Windows11 #LinuxTutorial #VirtualMachine #SystemAdministration #Networking #DevOps #CyberSecurity #Ubuntu #VirtualBox #VMware #RemoteAccess #LinuxCommands #ServerManagement #TechTutorial #ITTraining #OpenSSH #LearnLinux









![How to Install and Use PearAI on Windows 11 (Best Cursor Alternative)
How to Install and Use PearAI on Windows 11
In this complete step-by-step tutorial, youll learn how to install and use PearAI on Windows 11. PearAI is an AI-powered code editor built on Visual Studio Code that helps developers write, understand, refactor, and manage code more efficiently using advanced AI models and intelligent coding assistants. With its familiar VS Code interface and built-in AI capabilities, PearAI is an excellent choice for beginners and experienced developers alike. ([SourceForge][1])
Whether youre a software developer, student, web developer, or AI enthusiast, this guide will walk you through the entire installation and setup process so you can start building projects with AI-assisted coding in just a few minutes.
In this video, well begin by downloading the latest version of PearAI for Windows 11 from the official website and installing it step by step. Youll learn about the system requirements, installation process, and how to launch PearAI for the first time. We also cover the initial setup, including signing in, configuring your preferred AI provider, and customizing the editor for your workflow. ([SourceForge][1])
Next, well explore the PearAI interface and show you how to create your first project. Youll learn how to open existing folders, generate code using AI, ask questions about your codebase, explain complex code, refactor existing functions, and use AI-powered autocomplete to speed up development. Since PearAI is based on VS Code, youll also see how to install extensions, customize themes, and import your existing development environment. ([SourceForge][1])
Well also demonstrate practical workflows such as generating code from prompts, fixing bugs, improving code quality, and using AI to understand unfamiliar projects. In addition, well discuss project context, integrated terminal support, Git integration, and best practices for working with AI-assisted coding tools.
Topics covered in this tutorial:
* What is PearAI?
* Why use PearAI for software development
* Downloading PearAI on Windows 11
* Installing PearAI step by step
* Initial setup and configuration
* Signing in and configuring AI models
* Understanding the PearAI interface
* Creating your first project
* AI-powered code generation
* Code explanation and refactoring
* AI autocomplete features
* Git integration
* Installing VS Code extensions
* Customizing PearAI
* Troubleshooting common installation issues
PearAI combines the familiarity of Visual Studio Code with powerful AI features, making it easier to write, understand, and maintain code across multiple programming languages. Whether youre building web applications, APIs, desktop software, or automation scripts, PearAI can help improve your productivity and streamline your development workflow. ([SourceForge][1])
If you found this tutorial helpful, dont forget to like the video, subscribe to the channel, and turn on notifications for more AI coding, programming, Windows, and software development tutorials.
#PearAI #Windows11 #AIEditor #VSCode #Programming #Coding #SoftwareDevelopment #DeveloperTools #ArtificialIntelligence #AITools #CodeEditor #WebDevelopment #Python #JavaScript #CodingTutorial #LearnProgramming #TechTutorial #AIProgramming #OpenSource #Productivity
[1]: https://sourceforge.net/projects/pearai.mirror/?utm_source=chatgpt.com PearAI download | SourceForge.net How to Install and Use PearAI on Windows 11 (Best Cursor Alternative)](https://i.ytimg.com/vi/CJv_0szelwk/mqdefault.jpg)
