liveBook · Manning

SSH

As explained in Road to Kubernetes

SSH is a secure network protocol for remotely accessing and administering computers over an authenticated, encrypted connection.

SSH provides command-line access to a remote computer, whether it is nearby or located across the internet. It lets you administer a provisioned virtual machine from your own computer. section 3.1.2 section 3.7

To connect to a remote host, gather:

Connect to a provisioned VM

Open Terminal or PowerShell and run: ssh root@<your-ip>. On the first connection, confirm that you trust the remote host. The host is then recorded in ~/.ssh/known_hosts unless the host or local records change. section 3.1.2 section 3.3.1

Listing 3.1 SSH connection example
ssh root@172.104.195.109

Inspect the complete SSH connection command used with a remote VM. section 3.1.2

After logging in, SSH becomes the working command line for installing software, managing code repositories, configuring services, and maintaining the server. Keep SSH traffic permitted when enabling a firewall, or the current session may be lost. section 3.3.1 section 3.6.2

How Road to Kubernetes covers it

How deep it goes
Explains connection requirements, first-use host verification, commands, and firewall access, without detailing the protocol internals.
Examples
Uses Ubuntu VM provisioning, ssh root@<your-ip>, host verification, Git installation, and UFW rules allowing SSH traffic.
What it assumes
Assumes a provisioned VM, host address, username, password or SSH key, and network access; teaches the connection process from these basics.
What you can do after
Operate/configure a remote VM through Terminal or PowerShell, then install software and deploy code from its command line.
How it connects
Connects virtual machines, IP addresses, SSH keys, passwords, known_hosts, Git, firewalls, and NGINX.

Also explained in

Compare how 4 books explain SSH →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Road to Kubernetes. The section links point to the parts of the book it draws on.