How to add the WSL to Termius

WSL to Termius

Configure WSL inside Termius


Install SSH Server on WSL

You need to have an SSH server installed and running on your WSL distribution. You can install OpenSSH server on Ubuntu by running:

sudo apt update
sudo apt install openssh-server

Find WSL IP Address

Determine the IP address of your WSL instance. You can find this by running

ip addr

IP Address

Configure SSH

You may need to configure SSH to allow connections from Termius. By default, SSH should be configured to accept connections from localhost, but if you have specific security settings, you may need to adjust this.

Add WSL Connection in Termius:

  1. Open Termius.
  2. Click on the "+" button to add a new host.
  3. Choose "SSH" as the connection type.
  4. Enter the WSL IP address as the hostname.
  5. Set the port to 22 (default SSH port). Termius Input
  6. Enter your **WSL username **and **password **(if applicable).
  7. Optionally, give this connection a name for easy identification.
  8. Click "Save" to add the connection.

Connect to WSL

Now you should be able to connect to your WSL instance through Termius. Click on the connection you just added, and it should establish a connection to your WSL environment.

WSL to Termius Successfull