Level 1
0 / 100 XP

How to SSH from our Host Computer

In this lesson, I want to talk to you about enabling SSH on your Windows computer so you can SSH directly into your Ubuntu Server VM. Now, if you're running Linux or a modern version of Windows and you likely already have an SSH client installed, really quick, I'm just going to run through how to get that set up on your Windows computer, and then actually show you how to SSH into the box from your host computer.

Use SSH on Windows:

The first thing we're going to do if you're on a Windows computer is click Start , go to Settings and we're going to go to Apps. And, we'll click Optional features.

apps optional featuresApps - Optional features

Scroll down, find "OpenSSH Server," and click "Install."

Now, open your Command Prompt and type in ssh and press Enter. And if you get an output like this, then you already have SSH installed.

command prompt sshCommand Prompt - ssh

Third-Party SSH Clients:

If you prefer a graphical user interface, you can use third-party SSH clients like PuTTY or WinSCP.

PuTTY is a popular choice for SSH on Windows. Download and install it from the official website: PuTTY Download Page.

Open PuTTY, enter the remote server's IP address or hostname, set the connection type to "SSH," and click "Open."

SSH from your Host Computer to Ubuntu Server

Find your Ubuntu Server IP address. Your IP address is gonna be different, and you can get that by typing in ip addr on Ubuntu. So again, I'm seeing 192.168.1.162.

ubuntu server ip addrUbuntu Server ip addr command

So, if I go back to my command prompt, and I'm going to go to **Proper…