title
Operating Systems

Connecting to a Linux device with SSH

This guide provides step-by-step instructions on how to connect to a Linux device using SSH, for both Windows and Linux.

Connecting to a Linux device with SSH

SSH is a secure way to connect to a Linux device remotely. This guide will provide you with the necessary steps to connect to a Linux device using SSH, for both Windows and Linux systems.

For Windows

To connect to a Linux device using SSH on a Windows system, we recommend using MobaXTerm. Follow these steps:

  1. Download and Install MobaXTerm
    Visit https://mobaxterm.mobatek.net/download.html to download the free version of MobaXTerm.

  2. Open a New Session
    After launching the program, open a new session by clicking on “Session” in the upper left corner.
    SSH_windows_1

  3. Enter Remote Host IP and Username
    Enter the IP address of the remote host in the "Remote Host" field. For example, if the IP address is 192.168.1.XXX, enter that in the field. Next, select "Specify username" and enter the username.
    SSH_windows_2

  4. Enter Password
    Enter the password and press enter. The default password for the auto setup is "rancher". You do not need to save the password, just click "No".

  5. Successfully Logged in via SSH
    Once you have entered the required credentials, you will be successfully logged in via SSH.
    SSH_windows_3

For Linux

To connect to a Linux device using SSH on a Linux system, you can use the inbuilt commands. Follow these steps:

  1. Connect via SSH Command
    Open a terminal and enter the following command: ssh @. For example, if the IP address is 192.168.99.118 and the username is "rancher", enter the command ssh [email protected].
    SSH_linux_1

  2. Enter Yes to Continue
    When prompted with a warning message that says "The authenticity of host ‘xxx’ can’t be established", enter "yes" to continue with the connection.

SSH_linux_2

  1. Enter Password
    Enter the password and press enter.

  2. Successfully Logged in via SSH
    Once you have entered the required credentials, you will be successfully logged in via SSH.

SSH_linux_3

Stay up-to-date

Subscribe to the UMH Learning Hub Newsletter to receive the latest updates and gain early access to our blog posts.

Subscribe