How to use SSH to connect to a Linux terminal on your web hosting service

SSH
(Image credit: Tom's Hardware)

Whether you're trying to run a Bash script, have a look at what processes are running or just move files around, you need to get to the terminal / command prompt on your web hosting plan. Most of the best web hosting plans and best VPS providers give you access to the Linux terminal, but require you to use an SSH (Secure Shell) connection to log into it from your PC.

In order to connect from your computer via SSH, you need to first create a public / private key combination and download the private key file. Then you can use both the private key file and a passkey (aka password) in an SSH client such as Putty to establish the connection. Below, we'll show you how it's done.

Latest Videos FromTom's Hardware
Avram Piltch
Managing Editor: Special Projects

Avram Piltch is Managing Editor: Special Projects. When he's not playing with the latest gadgets at work or putting on VR helmets at trade shows, you'll find him rooting his phone, taking apart his PC, or coding plugins. With his technical knowledge and passion for testing, Avram developed many real-world benchmarks, including our laptop battery test.