You can use secure shell (SSH) connection to remotely manage your new virtual machine. To do so, you need an SSH client installed on your local machine. Most Unix-like operating systems (Linux, macOS) come with SSH pre-installed. For Windows, you can use the built-in OpenSSH client, or softwares like PuTTY.
- To start, open your terminal/SSH client.
Type the following command in your terminal:
Replacessh root@your_server_ip
your_server_ip
with the IP address of your virtual machine.- If you're connecting for the first time, you'll see a message asking if you want to continue connecting. Type
yes
and press Enter. If everything is correct, you should now be logged into your virtual machine. - Once logged in, you'll see a command prompt that looks something like this:
Now you can execute commands on your virtual machine. You can install software, configure settings, upload and edit files, etc.root@your_server:~$
- To exit the SSH session, simply type
exit
or use the shortcutCtrl + C
.