Search⌘ K
AI Features

Using Secure Shell to Connect to Remote Machines

Explore how to set up and use Secure Shell (SSH) to connect to remote machines securely. Understand installing SSH server, identifying IP addresses, establishing connections, and executing remote commands safely.

We'll cover the following...

SSH

Secure Shell, or SSH, is an encrypted and secure method for logging in to remote machines. We can also use it to execute commands remotely and use related tools to copy files securely.

This is the standard way to log in to remote Linux servers, either in our own data center or in the cloud. In this lesson, we’ll use our local machine to connect to our Ubuntu virtual machine.

Setting up SSH

First, we install the openssh-server package and enable SSH connections: ...