DEV Community

Cover image for #DAY 3 - Monitoring Internal Services: FTP & SSH
Samuel Adeduntan
Samuel Adeduntan

Posted on

#DAY 3 - Monitoring Internal Services: FTP & SSH

Ensuring Secure Access and Data Transfer

Introduction

It is crucial to monitor internal services, such as FTP and SSH, to ensure secure and reliable communication within a company. Because these services are frequently used for remote access and file transfers, their availability and security are crucial. Frequent monitoring can ensure compliance with security policies and help identify any issues, such as unauthorized access attempts or service outages.

Objective
I successfully installed network services on my server and configured Uptime Kuma to monitor them, effectively simulating a real internal infrastructure environment.

Detailed Procedure:

Install & Configure FTP Service (vsftpd):

Update repo
Screenshot1

*Installation of FTP port *
sudo apt install vsftpd -y
Screenshot2

Start and enable it: sudo systemctl start vsftpd && sudo systemctl enable vsftpd
Screenshot3

Check it's listening: ss -tlnp | grep:21
Screenshot4

Other Open ports
Screenshot9

Create FTP Monitor in Uptime Kuma

In the dashboard, click "Add New Monitor".

Screenshot10

Screenshot11

Screenshot12

Screenshot13

Create SSH Monitor

install ssh
Screenshot14

Port listen
Screenshot15

Successful creation of the SSH service
Screenshot16

Dashboard Overview
Screenshot16

Event Simulation

FTP Service
sudo systemctl stop vsftpd
Screenshot17

FTP service Down notification
Screenshot18

SSH Service
sudo systemctl stop ssh
Screenshot19

SSH service Down notification
Screenshot20

Restarting the FTP and SSH services

Screenshot21

New event notification
My Uptime Kuma dashboard view, showing both the FTP and TCP SSH monitors with a green "UP" status, grouped under "Internal Lab Services.

Screenshot22

Conclusion

Day 3 successfully demonstrated the setup and monitoring of critical internal services, FTP and SSH using Uptime Kuma. By installing and configuring these services, integrating them into the monitoring dashboard, and simulating service outages, I was able to validate both the monitoring system’s effectiveness and the resilience of the infrastructure. The simulated downtime events confirmed that Uptime Kuma promptly detects service failures and provides real-time alerts, which are essential for ensuring secure access, reliable data transfer, and compliance with security policies.

This exercise not only reinforced practical skills in configuring and managing core network services but also highlighted the importance of proactive monitoring in preventing downtime and mitigating security risks within an internal lab or enterprise environment.

Success Goal Achieved

The primary goal of Day 3 was to ensure secure access and reliable data transfer by deploying and monitoring FTP and SSH services in a controlled lab environment. This goal was fully achieved, as both services were successfully configured, monitored in real time, and tested through simulated outage events. The outcome demonstrates a functional internal monitoring setup that mirrors real-world enterprise practices, strengthening readiness for managing production-grade infrastructure.

Top comments (0)