Skip to main content
Understanding SSH

This article will guide you through the fundamentals of SSH and its use on TryHackMe.

Bubbles avatar
Written by Bubbles
Updated this week

Important: If the room does not provide credentials or instructions for SSH, it is unlikely that an SSH connection is needed. This requirement is usually highlighted at the beginning or in the task associated with the attached VM.


Please do not use your TryHackMe credentials to SSH into a machine - they will not work.

What is SSH?

Secure Socket Shell (SSH) is a network protocol that allows you to securely access and communicate with remote machines, primarily remote servers. This means you can connect to another computer directly from your terminal. Once connected, all commands you enter in your local terminal are executed on the remote server.

TryHackMe Rooms and SSH: A Practical Guide

In certain rooms, you may need to SSH into a machine to complete specific tasks. You will be given the following:

  • Username

  • Password

  • IP address required for the connection

Keep in mind that when you enter the password, it won't be visible on your screen - it is a security feature common to all Linux distributions.

To establish the connection, you can use our AttackBox terminal (which is highly recommended for beginners) or your own machine once you have successfully connected via OpenVPN. 

If you prefer accessing your AttackBox through your terminal rather than the web browser, you can locate your Attack Box's credentials by clicking the "i" (information) button once it has booted.

The credentials you will need to use are: public IP, username, and password. Once the credentials are entered correctly, you will be logged into the AttackBox. You can now execute commands and complete your tasks directly from your Linux terminal.

Still not sure how to SSH into the room machine? Don't worry! Feel free to read another help article based on a room example to help you understand it better.

TryHackMe

Did this answer your question?