Ssh Automate

Ssh Automate checks daily for upgradable packages on your server and sends email notifications if updates are available, ensuring your system stays secure and up-to-date without manual intervention.

7/8/2025
7 nodes
Complex
schedulecomplexsshemailsendschedule triggersticky noteautomationemailnotificationcronlogicconditional
Categories:
Schedule TriggeredComplex Workflow
Integrations:
SshEmailSendSchedule TriggerSticky Note

Target Audience

This workflow is ideal for:
- System Administrators: Who need to regularly check for package updates on their servers.
- DevOps Engineers: Looking for automated solutions to streamline server maintenance tasks.
- Small Business Owners: Who manage their own servers and want to ensure software is up-to-date without manual checks.
- IT Support Teams: That require timely notifications about server updates to assist clients effectively.

Problem Solved

This workflow addresses the challenge of keeping server packages up-to-date by:
- Automating the Check: Regularly checking for upgradable packages without manual intervention.
- Notifying Users: Sending email notifications when updates are available, ensuring timely action can be taken.
- Reducing Downtime Risks: By keeping software updated, it minimizes vulnerabilities and potential downtime caused by outdated packages.

Workflow Steps

The workflow consists of the following steps:
1. Schedule Trigger: Runs daily to initiate the workflow automatically.
2. List Upgradable Packages: Executes the command apt list --upgradable via SSH to retrieve a list of packages that can be updated.
3. Format as HTML List: Converts the output into an HTML formatted list for better readability in email notifications.
4. Check for Updates: Evaluates if there are any upgradable packages by checking if the formatted list is not empty.
5. Send Email through SMTP: If updates are found, an email is sent to the specified recipients notifying them of the available updates.

Customization Guide

Users can customize this workflow by:
- Modifying Email Addresses: Update the toEmail and fromEmail fields in the Send Email through SMTP node to your desired email addresses.
- Changing the Schedule: Adjust the trigger settings in the Run workflow every day node to change how frequently the workflow checks for updates (e.g., every hour, week, etc.).
- Customizing Email Content: Edit the html field in the Send Email through SMTP node to personalize the message or add additional information as needed.
- Updating SSH Credentials: Change the SSH credentials in the List upgradable packages node to connect to different servers as required.