WSL
Termius
ubuntu
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
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:
- Open Termius.
- Click on the "+" button to add a new host.
- Choose "SSH" as the connection type.
- Enter the WSL IP address as the hostname.
- Set the port to 22 (default SSH port).
- Enter your **WSL username **and **password **(if applicable).
- Optionally, give this connection a name for easy identification.
- 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.