Menu
User

DropVPS Team

Writer: John hens

How to setup ssh on ubuntu 25.10

How to setup ssh on ubuntu 25.10

Publication Date

11/13/2025

Category

Articles

Reading Time

2 Min

Table of Contents

Setting up SSH on Ubuntu 25.10 allows you to connect remotely to your system securely. 

Step 1: Update Your System

Before installing SSH, it’s important to update your Ubuntu 25.10 system to ensure all existing packages are up to date and compatible with the latest security and software features.

sudo apt update && sudo apt upgrade -y

Step 2: Install OpenSSH Server

Once your system is updated, the next step is to install the OpenSSH Server package, which enables secure remote connections to your Ubuntu 25.10 system using the SSH protocol.

sudo apt install openssh-server -y

Step 3: Check SSH Service Status

After installing the OpenSSH Server, it’s important to verify that the SSH service is running correctly to ensure remote access functions without issues and your system is ready for secure connections.

sudo systemctl status ssh

Step 4: Enable SSH on Boot

To make sure your SSH server starts automatically every time your system boots, you need to enable the SSH service, ensuring continuous remote access without having to restart it manually after each reboot.

sudo systemctl enable ssh

Step 5: Allow SSH Through Firewall

If your Ubuntu 25.10 system has a firewall enabled, you need to allow SSH traffic to ensure remote connections can reach your server securely without being blocked.

sudo ufw allow ssh
sudo ufw reload

Step 6: Connect via SSH

Once SSH is installed and the firewall is configured, you can connect to your Ubuntu 25.10 system from another device using your username and server IP to manage it remotely and securely.

ssh username@your-server-ip

Step 7: Secure SSH

For better protection, edit the SSH configuration to change the port or disable root login.

sudo nano /etc/ssh/sshd_config

Restart the SSH service to apply your changes:

sudo systemctl restart ssh
Linux VPS
U
Loading...

Related Posts

How to setup ssh on ubuntu 25.10