This guide explains how to connect to a CentOS virtual machine from a Windows system using SSH.
In this guide, you will learn how to connect to a CentOS virtual machine from a Windows system. The steps below cover logging into the VM, checking its network configuration, and establishing an SSH connection using MobaXterm or another SSH client.
At the login prompt on your CentOS VM, select the default user “osboxes”. For images downloaded from osboxes.org, the login credentials are provided on the website’s Info section—with the username being “osboxes” and the password “osboxes.org”.
Enter the password osboxes.org and click Sign In to access your CentOS system.
Once logged in, open a terminal on the CentOS system and run the following command to display the network configuration:
Copy
Ask AI
ifconfig
This command reveals the current IP address assigned to the virtual machine. From the output, you should note the IP address, for example, 192.168.1.112.
Below is an example output of the ifconfig command:
After entering the correct password, you will be successfully logged into the CentOS VM via SSH. This secure connection allows you to manage your VM remotely.
For more information on managing SSH sessions on Windows, check out the MobaXterm documentation or explore PuTTY.