Skip to main content

Module 12: SSH in Modern and Containerized Environments

Chapter 44: Managing Cloud Servers and IoT Devices with SSH

In this chapter, you'll learn how to manage AWS EC2, DigitalOcean, Hetzner, and Linode servers over SSH, and how to set up SSH access for Raspberry Pi and IoT devices.

In the previous chapter, you learned how SSH works in container environments. You saw when to use docker exec instead of SSH, how to create SSH-enabled containers in Docker and Podman, and how to use temporary debug containers for troubleshooting.

SSH is one of the most important tools you'll use to manage Linux systems. However, the way you connect, authenticate, and secure SSH can vary depending on the platform you're using.

Whether you're managing AWS EC2 instances, DigitalOcean Droplets, Hetzner bare metal servers, Linode VPS instances, Raspberry Pi devices, or embedded IoT hardware, each platform has its own setup, conventions, and best practices.

In this chapter, you'll learn how SSH is used across all of these environments.

SSH on AWS EC2

Updated on Jul 9, 2026