Enable SSH
SSH provides remote terminal access to your computer. AnduinOS includes the OpenSSH server, managed through GNOME Settings. SSH is disabled by default; the computer does not listen on port 22 until you enable it.
⚠️ Remote Access
Enabling SSH exposes a login service to the network. Use a strong account password, prefer SSH keys, and allow access only from networks you trust.
Enable SSH in GNOME Settings
- Open Settings.
- Select System and then Secure Shell.
- Turn on Secure Shell and approve the authentication prompt if one appears.

This switch manages the system SSH listener. Turning it off prevents new incoming SSH connections without uninstalling OpenSSH, terminating established sessions, or deleting the computer's SSH host keys.
Missing SSH server
If Secure Shell is unavailable or cannot be enabled, install the server:
sudo apt update
sudo apt install openssh-server
Systems that already had OpenSSH installed keep their existing enabled or disabled state during an AnduinOS upgrade.
Enable SSH During Installation
The AnduinOS installer includes Allow SSH login with the account password under Advanced Options. Enabling it starts the SSH listener when the installed system boots and permits the new user's non-empty account password for SSH authentication. It does not permit empty passwords or direct root login.
Leaving the option off keeps SSH disabled. On a new AnduinOS 2.0.2 installation, you can still enable it later with GNOME Settings without installing another package.
Command-Line Control
To enable the same socket-activated SSH listener managed by GNOME Settings, run:
sudo systemctl enable --now ssh.socket
To stop SSH and keep it disabled across reboots, run:
sudo systemctl disable --now ssh.socket ssh.service
Disabling both units also covers systems on which an administrator previously enabled the traditional ssh.service directly.
Connect from Another Computer
Find the AnduinOS computer's local IP addresses:
hostname -I
Then connect from another computer, replacing the example values with your AnduinOS username and address:
ssh [email protected]
For stronger authentication than an account password, follow the Manage SSH Keys guide.
Firewall Access
GNOME Settings controls the SSH listener, but it does not configure an external router or network firewall. If UFW is enabled, make sure its OpenSSH rule is present before connecting:
sudo ufw allow OpenSSH
sudo ufw status
The AnduinOS 2.0.2 installer prepares this rule on new installations. Running the command again is safe and is useful for upgraded or manually configured systems. See the Firewall Guide for graphical configuration.
Check the SSH Listener
If a connection is refused, check both the socket state and the listening port:
systemctl status ssh.socket
sudo ss -ltnp | grep ':22'
If the socket is active and port 22 is listening, check UFW, the client and server addresses, and any router or virtual-machine networking rules between the two computers.
Comments (0)
No comments yet. Be the first to leave one!