How to Fix Low Disk Space Issues on Ubuntu Linux

Image
How to Fix Low Disk Space Issues on Ubuntu Linux While using Ubuntu Linux, you may encounter various issues caused by insufficient storage space.  Over time, the system may become slower, software updates may fail, or files may no longer be saved properly. 1. Why Disk Space Runs Out on Ubuntu Ubuntu is designed to manage storage efficiently, but disk usage can increase gradually due to several factors: Cached files created during system updates Log files that grow continuously over time Snap packages storing multiple revisions Unused packages and dependencies left behind Large user files accumulated in the home directory These files often grow unnoticed until the system begins to show warning signs. 2. Checking Current Disk Usage The first step in resolving low disk space issues is understanding the current storage situation . 2.1 Check Overall Disk Usage Run the following command in a terminal: df -h This command displays total disk size, used space, an...

How to Enable SSH on Raspberry Pi OS

How to Enable SSH on Raspberry Pi OS

How to Enable SSH on Raspberry Pi OS


The Raspberry Pi can be used not only with a directly connected monitor, keyboard, and mouse, but also as a remotely managed system accessed over a network. 

The core feature that enables this type of remote management is SSH (Secure Shell)

By enabling SSH on Raspberry Pi OS, users can connect to the Raspberry Pi from another computer, execute commands, and manage the system remotely.


1. What Is SSH?

SSH is a network protocol that allows secure remote access to another system. 

It provides a text-based command-line interface and is widely used for system administration, file transfers, and configuration tasks.

In a Raspberry Pi environment, SSH is particularly useful in the following situations:

  • Using Raspberry Pi without a monitor

  • Operating Raspberry Pi as a server or network device

  • Managing multiple Raspberry Pi devices at once

  • Performing long-term remote development or maintenance



2. Why SSH Is Important on Raspberry Pi OS

Although Raspberry Pi OS provides a graphical desktop environment, remote access is often more efficient in real-world use cases. 

Enabling SSH offers several advantages:

  • System management from any location

  • No need for a dedicated monitor or keyboard

  • Ideal for server, development, and automation tasks

  • Optimized for network-based workflows

For Raspberry Pi systems used for learning or server purposes, SSH is almost an essential feature.



3. Enabling SSH Using the Desktop Environment

If you are using the Raspberry Pi OS Desktop version, SSH can be enabled easily through the graphical interface.

Steps

  1. Open the top menu and select Preferences

  2. Click Control Centre

  3. Navigate to the Interfaces tab

  4. Set SSH to Enable

  5. Click OK to apply the changes

This method is the simplest option when a monitor and keyboard are connected directly to the Raspberry Pi.

Preferences
Preferences


Setting SSH
Setting SSH



4. Enabling SSH Using the Terminal

SSH can also be enabled using the terminal, which works for both Desktop and Lite versions of Raspberry Pi OS.

Run the following command:

sudo raspi-config

Then navigate through the menu:

  • Interface Options

  • SSH

  • Select Enable

Once completed, the change is applied immediately.

raspi config command
raspi-config command


raspi config tool
Raspberry Pi Software Configuration Tool




5. Enabling SSH Before First Boot (Headless Setup)

If you plan to use the Raspberry Pi without a monitor or keyboard from the beginning, SSH can be enabled before the first boot. This is known as a headless setup.

Steps

  1. Insert the SD card with Raspberry Pi OS into your computer

  2. Open the boot partition

  3. Create a new empty file with no extension

  4. Name the file ssh

When the Raspberry Pi boots, SSH will be automatically enabled.



6. Enabling SSH Using Raspberry Pi Imager

Recent versions of Raspberry Pi Imager allow SSH to be configured during the OS installation process.

Steps

  1. Launch Raspberry Pi Imager

  2. Select the operating system and storage device

  3. Click the advanced settings icon (gear icon)

  4. Enable the SSH option

  5. Set the username and password

This method is highly recommended if you plan to use SSH immediately after installation.



7. Finding the Raspberry Pi IP Address

To connect via SSH, you need to know the Raspberry Pi’s IP address.

You can check it using the following command:

ip addr

Alternatively, you can find the IP address from the device list in your router’s administration page.



8. Connecting to Raspberry Pi via SSH

From another computer, use the following command format:

ssh username@IP_address

Example:

ssh pi@192.168.0.10

When connecting for the first time, a security warning will appear. 

After accepting it, enter the password to complete the connection.



9. Important Considerations When Using SSH

While SSH is very convenient, it involves network access, so basic security practices are important.

  • Change the default password

  • Avoid unnecessary external port exposure

  • Disable SSH when it is not needed

Following these simple practices helps maintain a stable and secure remote environment.



10. How to Disable SSH

If SSH is no longer required, it can be disabled easily.

  • Control Centre → Interfaces → Disable SSH

  • Or disable it via raspi-config

Enabling SSH only when necessary is a good habit for system management.



11. Conclusion

There are multiple ways to enable SSH on Raspberry Pi OS, allowing users to choose the most suitable method depending on their environment. 

Whether using a GUI or a CLI, users can simply select the approach they find most comfortable. 

Understanding all available options—from simple desktop-based settings to advanced headless configurations—greatly expands how Raspberry Pi can be used.

On Raspberry Pi, SSH is a core feature that enables efficient system management and productive workflows.

Popular posts from this blog

Understanding Computer System

Understanding System Software

Understanding Operating Systems