Before a machine can be deployed as a worker node via the casos UI, its SSH server must be configured to accept password-based root login.
-
Install the SSH server
sudo apt update && sudo apt install -y openssh-server -
Start the SSH service
sudo service ssh start
-
Set the root password
sudo passwd root
-
Enable root login and password authentication
sudo sed -i 's/#PermitRootLogin prohibit-password/PermitRootLogin yes/' /etc/ssh/sshd_config sudo sed -i 's/#PasswordAuthentication yes/PasswordAuthentication yes/' /etc/ssh/sshd_config sudo service ssh restart
-
Verify connectivity
From another machine (or Windows PowerShell):
ssh root@<machine-ip> -p 22You should be prompted for the root password and successfully log in.
When adding the machine in the casos UI, set the fields as follows:
| Field | Value |
|---|---|
| IP | WSL host IP (e.g. 172.22.149.109) |
| Port | 22 |
| Username | root |
| Auth Type | password |
| Password | the root password you set above |
Once connectivity is confirmed, click Deploy Node to begin worker node deployment.