π οΈ Linux Server Administration
Essential tools and practices for running Harmony validator nodes
Professional validator operation requires solid Linux administration skills. This guide covers the essential tools, security practices, and management techniques needed to run reliable validator infrastructure.
π€ User Account Management
Never run validators as root! Always create a dedicated service account with sudo privileges for better security and organization.
Creating a Service User
We recommend setting up a dedicated user account with sudo access. In this guide we'll use serviceuser
- customize the username to your preference:
adduser serviceuser
Setup Process:
- Set a strong password
- Skip user info fields (press Enter to leave blank)
- Confirm account creation
- Add sudo permissions:
sudo usermod -aG sudo serviceuser
Next Step: Disconnect and reconnect using your new serviceuser
account for all future operations.
π SSH Key Authentication
SSH keys provide secure, password-less authentication to your servers. This is essential for professional validator management.
Important: Re-running key generation with default options will overwrite existing keys. Choose unique filenames if you have multiple key pairs.
π Generate Key Pairs
Run this command on your local computer (not the server):
ssh-keygen -t rsa -b 4096
Parameter Explanation:
-t rsa
- RSA key type (industry standard)-b 4096
- 4096-bit key length for enhanced security (vs default 3072)
Setup Process:
π Key File Overview
File | Purpose | Security Level |
---|---|---|
id_rsa | Private key (keep secure!) | π΄ Critical - Never share |
id_rsa.pub | Public key (deploy to servers) | π’ Safe to copy |
Backup your private key! Losing id_rsa
means losing access to all configured servers.
π Deploy Keys to Server
π Connect Using SSH Keys
Once configured, connect instantly without passwords:
ssh serviceuser@[IP_ADDRESS]
You're now ready for advanced file transfers using scp
, rsync
, or tools like Termius for comprehensive server management.
π Security Hardening
Essential security practices for validator nodes exposed to the internet.
π« Disable Ping Response
Hide your server from network scans:
# Disable ping responses
sudo sysctl -w net.ipv4.icmp_echo_ignore_all=1
# Re-enable ping (if needed)
sudo sysctl -w net.ipv4.icmp_echo_ignore_all=0
π Harden SSH Configuration
Keep your current SSH session open while making these changes. Test new connections in a separate terminal to avoid lockouts.
Edit SSH configuration:
sudo nano /etc/ssh/sshd_config
Recommended Security Settings:
Apply Changes:
sudo systemctl restart sshd
π₯ Firewall Configuration
Update firewall rules for your new SSH port:
π‘οΈ Fail2Ban Protection
Automatically ban IPs after failed authentication attempts:
π» Professional SSH Client
π Termius - Professional SSH Client
Termius (opens in a new tab) is the gold standard for server administration, offering:
- Multi-device sync - Access servers from any device
- Built-in SFTP - Drag-and-drop file transfers
- Snippets - One-click command shortcuts
- Team collaboration - Share access securely
- Mobile apps - Manage servers on the go
Get Started:
- Quick Start Guide (opens in a new tab)
- Focus on: Hosts, SFTP, and Snippets
β‘ Essential Termius Snippets
Configure these one-click shortcuts for validator management:
π Alternative SSH Clients
π File Transfer Solutions
π Built-in SFTP (Termius)
Termius includes drag-and-drop file transfer - our recommended solution for most users.
ποΈ Alternative SFTP Clients
π οΈ Essential Linux Tools
Must-have utilities for validator node management:
π System Monitoring
π§ Development Tools
π Maintenance & Updates
π οΈ Validator Toolbox Updates
Harmony & Findora toolboxes auto-update when launched with our recommended snippets. The scripts download the latest version before running.
π¦ Ubuntu System Updates
π― EasyNodePro Validator Tools
π§ Harmony Validator Scripts
Recommendation: Use the Harmony Toolbox instead of individual scripts for better integration and ongoing support.
Legacy Scripts Repository:
- GitHub: Harmony Validator Scripts (opens in a new tab)
- Community supported only
- Individual utility scripts
- No longer actively maintained
π οΈ Findora Validator Scripts
Current Tools Repository:
- GitHub: Findora Validator Scripts (opens in a new tab)
- Still maintained and supported
- Comprehensive utility collection
- Use alongside Findora Toolbox
You're now equipped with professional server administration skills! These tools and practices form the foundation for reliable validator operations. Remember to practice these techniques in test environments before applying to production validators.
π Additional Resources
- Harmony Validator Guide - Complete validator setup
- Harmony Toolbox - Automated management
- Our Validator Portfolio (opens in a new tab) - See these practices in action
- EasyNodePro Discord (opens in a new tab) - Community support and discussion