Admin Reference

πŸ› οΈ 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:

  1. Set a strong password
  2. Skip user info fields (press Enter to leave blank)
  3. Confirm account creation
  4. 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

FilePurposeSecurity Level
id_rsaPrivate key (keep secure!)πŸ”΄ Critical - Never share
id_rsa.pubPublic 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:

⚑ 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:

πŸ› οΈ Findora Validator Scripts

Current Tools Repository:


πŸŽ‰

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