• About TC
  • Affiliate Disclaimer
  • Privacy Policy
  • TOS
  • Contact
Monday, May 19, 2025
Techcratic
Click For A Secret Deal
  • TC
  • AI
    Artificial Intelligence

    Set up a custom plugin on Amazon Q Business and authenticate with Amazon Cognito to interact with backend systems

    Artificial Intelligence

    StreamBridge: Turning Your Offline Video Large Language Model into a Proactive Streaming Assistant

    Artificial Intelligence

    3 Excellent Practical Generative AI Courses

    Artificial Intelligence

    Building End-to-End Data Pipelines with Dask

    Artificial Intelligence

    Automate document translation and standardization with Amazon Bedrock and Amazon Translate

    Artificial Intelligence

    InterVision accelerates AI development using AWS LLM League and Amazon SageMaker AI

    Artificial Intelligence

    FireDucks: An Accelerated Fully Compatible Pandas Library

    Artificial Intelligence

    Breaking Out of Beginner: Python Patterns for Intermediate Data Scientists

    Artificial Intelligence

    Building a Personal Knowledge Management Tool with Reor

  • Crypto
    Bitcoin Price Watch: Market Recoils After $107K Peak, Eyes Key Support

    Bitcoin Price Watch: Market Recoils After $107K Peak, Eyes Key Support

    Success: El Salvador Boasts Hundreds of Millions of Dollars in Bitcoin Revenue

    Success: El Salvador Boasts Hundreds of Millions of Dollars in Bitcoin Revenue

    Fireblocks Reveals 90% of Industry Participants Are Actively Engaging With Stablecoins

    Fireblocks Reveals 90% of Industry Participants Are Actively Engaging With Stablecoins

    Australian Police Seize Hacker’s Bitcoin, Mansion and Luxury Car

    Australian Police Seize Hacker’s Bitcoin, Mansion and Luxury Car

    Ripple Hails Dubai’s Crypto Vision at Fintech Summit

    Ripple Hails Dubai’s Crypto Vision at Fintech Summit

    Bitcoin Poised for 20-Year Outperformance, Says Analyst

    Bitcoin Poised for 20-Year Outperformance, Says Analyst

    Canadian Bitcoin Miner POW.RE to Acquire Swiss Firm Block Green

    Canadian Bitcoin Miner POW.RE to Acquire Swiss Firm Block Green

    Panama City Eyes Bold Move With Potential Bitcoin Reserve

    Panama City Eyes Bold Move With Potential Bitcoin Reserve

    Following Pectra, Ethereum Fees Stay Low as Bitcoin Fee Market Remains Soft

    Following Pectra, Ethereum Fees Stay Low as Bitcoin Fee Market Remains Soft

  • Cybersecurity
    Cybersecurity

    Firefox Patches 2 Zero-Days Exploited at Pwn2Own Berlin with $100K in Rewards

    Cybersecurity

    New HTTPBot Botnet Launches 200+ Precision DDoS Attacks on Gaming and Tech Sectors

    Cybersecurity

    Top 10 Best Practices for Effective Data Protection

    Cybersecurity

    Researchers Expose New Intel CPU Flaws Enabling Memory Leaks and Spectre v2 Attacks

    Cybersecurity

    Learn a Smarter Way to Defend Modern Applications

    Cybersecurity

    Meta to Train AI on E.U. User Data From May 27 Without Consent; Noyb Threatens Lawsuit

    Cybersecurity

    5 BCDR Essentials for Effective Ransomware Defense

    Cybersecurity

    New Chrome Vulnerability Enables Cross-Origin Data Leak via Loader Referrer Policy

    Cybersecurity

    Ivanti Patches EPMM Vulnerabilities Exploited for Remote Code Execution in Limited Attacks

  • Deals
    SanDisk 32GB 4-Pack Outdoors HD SDHC UHS-I Memory Card (4x32GB) – Up to 100MB/s, C4,…

    SanDisk 32GB 4-Pack Outdoors HD SDHC UHS-I Memory Card (4x32GB) – Up to 100MB/s, C4,…

    Samsung Galaxy Watch4 44MM SM-R870 Aluminum Smartwatch GPS Only (Renewed)

    Samsung Galaxy Watch4 44MM SM-R870 Aluminum Smartwatch GPS Only (Renewed)

    USB Audio Adapter, External Sound Card for PC and Laptop, USB to 3.5mm(1/8 inch) Audio…

    USB Audio Adapter, External Sound Card for PC and Laptop, USB to 3.5mm(1/8 inch) Audio…

    EMTEC 32GB-Wonderwoman DC Comics Collector USB 2.0 3D Soft Touch Gum Flash Drive

    EMTEC 32GB-Wonderwoman DC Comics Collector USB 2.0 3D Soft Touch Gum Flash Drive

    Mediasonic Hard Drive Handle x 4 for Hard Drive Enclosure

    Mediasonic Hard Drive Handle x 4 for Hard Drive Enclosure

    Original OEM Supernova 8 PIN to 8 PIN (6+2) PCI Express VGA Power Cable (W001-00-000147)

    Original OEM Supernova 8 PIN to 8 PIN (6+2) PCI Express VGA Power Cable (W001-00-000147)

    Dell Latitude 5550 15.6″ FHD Business Laptop Computer, Intel Ultra 5 135U (Beat…

    Dell Latitude 5550 15.6″ FHD Business Laptop Computer, Intel Ultra 5 135U (Beat…

    Eco-Friendly Ink Cartridge Replacement for Canon 245XL 246XL Black and Color Combo 2…

    Eco-Friendly Ink Cartridge Replacement for Canon 245XL 246XL Black and Color Combo 2…

    Lufeiya Computer Desk with File Drawers Cabinet, 47 Inch Reversible Home Office Desks…

    Lufeiya Computer Desk with File Drawers Cabinet, 47 Inch Reversible Home Office Desks…

  • Gaming

    How to Get The Thunder Helm in Zelda Breath of the Wild

    GTA 6 TRAILER 2 NOVITA' UFFICIALI! IL VERO PIANO DI ROCKSTAR GAMES PER GTA 6

    GTA 6 TRAILER 2 NOVITA' UFFICIALI! IL VERO PIANO DI ROCKSTAR GAMES PER GTA 6

    GTA 6 Trailer 2: Has Rockstar Confirmed the Release Date?

    GTA 6 Trailer 2: Has Rockstar Confirmed the Release Date?

    God Of War Ragnarok Walkthrough Part 6 (PS4)

    God Of War Ragnarok Walkthrough Part 6 (PS4)

    God Of War Ragnarok Valhalla Is Way Bigger Than You Think (God Of War Valhalla Gameplay)

    God Of War Ragnarok Valhalla Is Way Bigger Than You Think (God Of War Valhalla Gameplay)

    I’m actually jealous of the workstation that gets to use this Maxsun graphics card containing two Intel Arc GPUs and 48 GB of VRAM

    I’m actually jealous of the workstation that gets to use this Maxsun graphics card containing two Intel Arc GPUs and 48 GB of VRAM

    A Forspoken Demo Review But Might As Well Be A Final Review

    A Forspoken Demo Review But Might As Well Be A Final Review

    All FNAF Movie trailers, TV spots, Teasers, Secret trailer, ARG , concession trailer, and more

    All FNAF Movie trailers, TV spots, Teasers, Secret trailer, ARG , concession trailer, and more

    Is it a bird, is it a plane? No, it’s Nvidia’s new Taiwanese office

    Is it a bird, is it a plane? No, it’s Nvidia’s new Taiwanese office

  • Tesla
    NACS to CCS1 Charging Adapter, Max 250KW Supercharger Adapter, Electric Vehicle Charging…

    NACS to CCS1 Charging Adapter, Max 250KW Supercharger Adapter, Electric Vehicle Charging…

    2 Pack HEPA Air Filter for Tesla Model 3 Model Y, Compatible with 2016-2024, 2 Count,…

    2 Pack HEPA Air Filter for Tesla Model 3 Model Y, Compatible with 2016-2024, 2 Count,…

    Turtle Wax 53787 Hybrid Solutions Ceramic Graphene Inside Job, Interior Car Cleaner and…

    Turtle Wax 53787 Hybrid Solutions Ceramic Graphene Inside Job, Interior Car Cleaner and…

    Tinlucys Center Console Protector Cover White Designed for Tesla Model 3/Y 2021-2024(Not…

    Tinlucys Center Console Protector Cover White Designed for Tesla Model 3/Y 2021-2024(Not…

    Ziciner 4 Pack Bling Car Cup Coaster, Crystal Soft Rubber Cup Holder Insert Coaster,…

    Ziciner 4 Pack Bling Car Cup Coaster, Crystal Soft Rubber Cup Holder Insert Coaster,…

    Hitch Cover for Tesla Model Y, Easy to Install and Remove with Magnet Design

    Hitch Cover for Tesla Model Y, Easy to Install and Remove with Magnet Design

    Marretoo for Tesla Cybertruck Truck Under Seat Storage Box- Foldable Replacement for…

    Marretoo for Tesla Cybertruck Truck Under Seat Storage Box- Foldable Replacement for…

    New OEM Design for Tesla USB Hub (Silver Gray), with Retractable Cables is Necessary…

    New OEM Design for Tesla USB Hub (Silver Gray), with Retractable Cables is Necessary…

    Nilight 84″ x 39″ x 6″ Universal Roof Rack Cargo Basket Heavy-Duty 250LBS Capacity…

    Nilight 84″ x 39″ x 6″ Universal Roof Rack Cargo Basket Heavy-Duty 250LBS Capacity…

  • UFO
    The Basics of Spacecraft Survival

    The Basics of Spacecraft Survival

    A Mind-Blowing Encounter With a Tarantula

    A Mind-Blowing Encounter With a Tarantula

    Are we alone? Dark Forest Theory #astrophysics #universe  #space #extraterrestrial #alien

    Are we alone? Dark Forest Theory #astrophysics #universe #space #extraterrestrial #alien

    Bencailor 12 Pack Carnival Alien Glasses with Lenses Funny Glasses for Alien Costume Accessories Mardi Gras Party Favor(Mixed Colors)

    Bencailor 12 Pack Carnival Alien Glasses with Lenses Funny Glasses for Alien Costume Accessories Mardi Gras Party Favor(Mixed Colors)

    Valiant Thor: A UFO, the Pentagon and a 3-year Mission to Save the World

    UFO whistleblower David Grusch: 'We are not alone' | Official Ross Coulthart NewsNation interview

    UFO whistleblower David Grusch: 'We are not alone' | Official Ross Coulthart NewsNation interview

    MAGCOMSEN Men’s Sun Protection Long Sleeve Shirts 1/4 Zip Up Rash Guard Lightweight Quick Dry Fishing Running T-Shirts

    MAGCOMSEN Men’s Sun Protection Long Sleeve Shirts 1/4 Zip Up Rash Guard Lightweight Quick Dry Fishing Running T-Shirts

    Agricultural Research Council believes that alien trees are threatening water supplies.

    Agricultural Research Council believes that alien trees are threatening water supplies.

    Ancient Civilizations that Vanished (S9, E11) | Ancient Aliens | Full Episode

    Ancient Civilizations that Vanished (S9, E11) | Ancient Aliens | Full Episode

No Result
View All Result
  • TC
  • AI
    Artificial Intelligence

    Set up a custom plugin on Amazon Q Business and authenticate with Amazon Cognito to interact with backend systems

    Artificial Intelligence

    StreamBridge: Turning Your Offline Video Large Language Model into a Proactive Streaming Assistant

    Artificial Intelligence

    3 Excellent Practical Generative AI Courses

    Artificial Intelligence

    Building End-to-End Data Pipelines with Dask

    Artificial Intelligence

    Automate document translation and standardization with Amazon Bedrock and Amazon Translate

    Artificial Intelligence

    InterVision accelerates AI development using AWS LLM League and Amazon SageMaker AI

    Artificial Intelligence

    FireDucks: An Accelerated Fully Compatible Pandas Library

    Artificial Intelligence

    Breaking Out of Beginner: Python Patterns for Intermediate Data Scientists

    Artificial Intelligence

    Building a Personal Knowledge Management Tool with Reor

  • Crypto
    Bitcoin Price Watch: Market Recoils After $107K Peak, Eyes Key Support

    Bitcoin Price Watch: Market Recoils After $107K Peak, Eyes Key Support

    Success: El Salvador Boasts Hundreds of Millions of Dollars in Bitcoin Revenue

    Success: El Salvador Boasts Hundreds of Millions of Dollars in Bitcoin Revenue

    Fireblocks Reveals 90% of Industry Participants Are Actively Engaging With Stablecoins

    Fireblocks Reveals 90% of Industry Participants Are Actively Engaging With Stablecoins

    Australian Police Seize Hacker’s Bitcoin, Mansion and Luxury Car

    Australian Police Seize Hacker’s Bitcoin, Mansion and Luxury Car

    Ripple Hails Dubai’s Crypto Vision at Fintech Summit

    Ripple Hails Dubai’s Crypto Vision at Fintech Summit

    Bitcoin Poised for 20-Year Outperformance, Says Analyst

    Bitcoin Poised for 20-Year Outperformance, Says Analyst

    Canadian Bitcoin Miner POW.RE to Acquire Swiss Firm Block Green

    Canadian Bitcoin Miner POW.RE to Acquire Swiss Firm Block Green

    Panama City Eyes Bold Move With Potential Bitcoin Reserve

    Panama City Eyes Bold Move With Potential Bitcoin Reserve

    Following Pectra, Ethereum Fees Stay Low as Bitcoin Fee Market Remains Soft

    Following Pectra, Ethereum Fees Stay Low as Bitcoin Fee Market Remains Soft

  • Cybersecurity
    Cybersecurity

    Firefox Patches 2 Zero-Days Exploited at Pwn2Own Berlin with $100K in Rewards

    Cybersecurity

    New HTTPBot Botnet Launches 200+ Precision DDoS Attacks on Gaming and Tech Sectors

    Cybersecurity

    Top 10 Best Practices for Effective Data Protection

    Cybersecurity

    Researchers Expose New Intel CPU Flaws Enabling Memory Leaks and Spectre v2 Attacks

    Cybersecurity

    Learn a Smarter Way to Defend Modern Applications

    Cybersecurity

    Meta to Train AI on E.U. User Data From May 27 Without Consent; Noyb Threatens Lawsuit

    Cybersecurity

    5 BCDR Essentials for Effective Ransomware Defense

    Cybersecurity

    New Chrome Vulnerability Enables Cross-Origin Data Leak via Loader Referrer Policy

    Cybersecurity

    Ivanti Patches EPMM Vulnerabilities Exploited for Remote Code Execution in Limited Attacks

  • Deals
    SanDisk 32GB 4-Pack Outdoors HD SDHC UHS-I Memory Card (4x32GB) – Up to 100MB/s, C4,…

    SanDisk 32GB 4-Pack Outdoors HD SDHC UHS-I Memory Card (4x32GB) – Up to 100MB/s, C4,…

    Samsung Galaxy Watch4 44MM SM-R870 Aluminum Smartwatch GPS Only (Renewed)

    Samsung Galaxy Watch4 44MM SM-R870 Aluminum Smartwatch GPS Only (Renewed)

    USB Audio Adapter, External Sound Card for PC and Laptop, USB to 3.5mm(1/8 inch) Audio…

    USB Audio Adapter, External Sound Card for PC and Laptop, USB to 3.5mm(1/8 inch) Audio…

    EMTEC 32GB-Wonderwoman DC Comics Collector USB 2.0 3D Soft Touch Gum Flash Drive

    EMTEC 32GB-Wonderwoman DC Comics Collector USB 2.0 3D Soft Touch Gum Flash Drive

    Mediasonic Hard Drive Handle x 4 for Hard Drive Enclosure

    Mediasonic Hard Drive Handle x 4 for Hard Drive Enclosure

    Original OEM Supernova 8 PIN to 8 PIN (6+2) PCI Express VGA Power Cable (W001-00-000147)

    Original OEM Supernova 8 PIN to 8 PIN (6+2) PCI Express VGA Power Cable (W001-00-000147)

    Dell Latitude 5550 15.6″ FHD Business Laptop Computer, Intel Ultra 5 135U (Beat…

    Dell Latitude 5550 15.6″ FHD Business Laptop Computer, Intel Ultra 5 135U (Beat…

    Eco-Friendly Ink Cartridge Replacement for Canon 245XL 246XL Black and Color Combo 2…

    Eco-Friendly Ink Cartridge Replacement for Canon 245XL 246XL Black and Color Combo 2…

    Lufeiya Computer Desk with File Drawers Cabinet, 47 Inch Reversible Home Office Desks…

    Lufeiya Computer Desk with File Drawers Cabinet, 47 Inch Reversible Home Office Desks…

  • Gaming

    How to Get The Thunder Helm in Zelda Breath of the Wild

    GTA 6 TRAILER 2 NOVITA' UFFICIALI! IL VERO PIANO DI ROCKSTAR GAMES PER GTA 6

    GTA 6 TRAILER 2 NOVITA' UFFICIALI! IL VERO PIANO DI ROCKSTAR GAMES PER GTA 6

    GTA 6 Trailer 2: Has Rockstar Confirmed the Release Date?

    GTA 6 Trailer 2: Has Rockstar Confirmed the Release Date?

    God Of War Ragnarok Walkthrough Part 6 (PS4)

    God Of War Ragnarok Walkthrough Part 6 (PS4)

    God Of War Ragnarok Valhalla Is Way Bigger Than You Think (God Of War Valhalla Gameplay)

    God Of War Ragnarok Valhalla Is Way Bigger Than You Think (God Of War Valhalla Gameplay)

    I’m actually jealous of the workstation that gets to use this Maxsun graphics card containing two Intel Arc GPUs and 48 GB of VRAM

    I’m actually jealous of the workstation that gets to use this Maxsun graphics card containing two Intel Arc GPUs and 48 GB of VRAM

    A Forspoken Demo Review But Might As Well Be A Final Review

    A Forspoken Demo Review But Might As Well Be A Final Review

    All FNAF Movie trailers, TV spots, Teasers, Secret trailer, ARG , concession trailer, and more

    All FNAF Movie trailers, TV spots, Teasers, Secret trailer, ARG , concession trailer, and more

    Is it a bird, is it a plane? No, it’s Nvidia’s new Taiwanese office

    Is it a bird, is it a plane? No, it’s Nvidia’s new Taiwanese office

  • Tesla
    NACS to CCS1 Charging Adapter, Max 250KW Supercharger Adapter, Electric Vehicle Charging…

    NACS to CCS1 Charging Adapter, Max 250KW Supercharger Adapter, Electric Vehicle Charging…

    2 Pack HEPA Air Filter for Tesla Model 3 Model Y, Compatible with 2016-2024, 2 Count,…

    2 Pack HEPA Air Filter for Tesla Model 3 Model Y, Compatible with 2016-2024, 2 Count,…

    Turtle Wax 53787 Hybrid Solutions Ceramic Graphene Inside Job, Interior Car Cleaner and…

    Turtle Wax 53787 Hybrid Solutions Ceramic Graphene Inside Job, Interior Car Cleaner and…

    Tinlucys Center Console Protector Cover White Designed for Tesla Model 3/Y 2021-2024(Not…

    Tinlucys Center Console Protector Cover White Designed for Tesla Model 3/Y 2021-2024(Not…

    Ziciner 4 Pack Bling Car Cup Coaster, Crystal Soft Rubber Cup Holder Insert Coaster,…

    Ziciner 4 Pack Bling Car Cup Coaster, Crystal Soft Rubber Cup Holder Insert Coaster,…

    Hitch Cover for Tesla Model Y, Easy to Install and Remove with Magnet Design

    Hitch Cover for Tesla Model Y, Easy to Install and Remove with Magnet Design

    Marretoo for Tesla Cybertruck Truck Under Seat Storage Box- Foldable Replacement for…

    Marretoo for Tesla Cybertruck Truck Under Seat Storage Box- Foldable Replacement for…

    New OEM Design for Tesla USB Hub (Silver Gray), with Retractable Cables is Necessary…

    New OEM Design for Tesla USB Hub (Silver Gray), with Retractable Cables is Necessary…

    Nilight 84″ x 39″ x 6″ Universal Roof Rack Cargo Basket Heavy-Duty 250LBS Capacity…

    Nilight 84″ x 39″ x 6″ Universal Roof Rack Cargo Basket Heavy-Duty 250LBS Capacity…

  • UFO
    The Basics of Spacecraft Survival

    The Basics of Spacecraft Survival

    A Mind-Blowing Encounter With a Tarantula

    A Mind-Blowing Encounter With a Tarantula

    Are we alone? Dark Forest Theory #astrophysics #universe  #space #extraterrestrial #alien

    Are we alone? Dark Forest Theory #astrophysics #universe #space #extraterrestrial #alien

    Bencailor 12 Pack Carnival Alien Glasses with Lenses Funny Glasses for Alien Costume Accessories Mardi Gras Party Favor(Mixed Colors)

    Bencailor 12 Pack Carnival Alien Glasses with Lenses Funny Glasses for Alien Costume Accessories Mardi Gras Party Favor(Mixed Colors)

    Valiant Thor: A UFO, the Pentagon and a 3-year Mission to Save the World

    UFO whistleblower David Grusch: 'We are not alone' | Official Ross Coulthart NewsNation interview

    UFO whistleblower David Grusch: 'We are not alone' | Official Ross Coulthart NewsNation interview

    MAGCOMSEN Men’s Sun Protection Long Sleeve Shirts 1/4 Zip Up Rash Guard Lightweight Quick Dry Fishing Running T-Shirts

    MAGCOMSEN Men’s Sun Protection Long Sleeve Shirts 1/4 Zip Up Rash Guard Lightweight Quick Dry Fishing Running T-Shirts

    Agricultural Research Council believes that alien trees are threatening water supplies.

    Agricultural Research Council believes that alien trees are threatening water supplies.

    Ancient Civilizations that Vanished (S9, E11) | Ancient Aliens | Full Episode

    Ancient Civilizations that Vanished (S9, E11) | Ancient Aliens | Full Episode

No Result
View All Result
Techcratic
No Result
View All Result

GitHub – Blackmamoth/sshsync

Hacker News by Hacker News
May 19, 2025
in Hacker News
Reading Time: 13 mins read
126 4
A A
0
Home Hacker News
Share on FacebookShare on XShare on LinkedIn

2025-05-18 15:10:00
github.com

sshsync is a fast, minimal CLI tool to run shell commands across multiple remote servers via SSH. Easily target all servers or just a specific group, great for sysadmins, developers, and automation workflows.

IMPORTANT:

  1. sshsync uses asyncssh for SSH connections. If you use passphrase-protected SSH keys, you MUST have your ssh-agent running with the keys added via ssh-add. sshsync will rely on SSH agent forwarding to authenticate with protected keys.
  2. Throughout this documentation, whenever “host” is mentioned, it refers to the SSH alias defined by the Host directive in your ~/.ssh/config file, not the actual hostname (HostName directive). sshsync uses these aliases for all operations.
  • 🔁 Run shell commands on all hosts or specific groups
  • 🚀 Executes commands concurrently across servers
  • 🧠 Group-based configuration for easy targeting
  • 🕒 Adjustable SSH timeout settings
  • 📁 Push/pull files between local and remote hosts
  • 📊 Operation history and logging
  • 🔍 Dry-run mode to preview actions before execution

Demo

Clone and install manually:

git clone https://github.com/Blackmamoth/sshsync.git
cd sshsync
pipx install .
sshsync [OPTIONS] COMMAND [ARGS]...

Global Options:

  • --install-completion – Install completion for the current shell
  • --show-completion – Show completion for the current shell
  • --help – Show help message and exit
sshsync [OPTIONS] COMMAND [ARGS]...

Running Commands on Servers

sshsync all [OPTIONS] CMD

Options:

  • --timeout INTEGER – Timeout in seconds for SSH command execution (default: 10)
  • --dry-run – Show command and host info without executing

Examples:

# Check disk space on all servers with a 20 second timeout
sshsync all --timeout 20 "df -h"

# Preview which hosts would receive the command without executing
sshsync all --dry-run "systemctl restart nginx"

Execute on a Specific Group

sshsync group [OPTIONS] NAME CMD

Options:

  • --timeout INTEGER – Timeout in seconds for SSH command execution (default: 10)
  • --dry-run – Show command and host info without executing

Examples:

# Restart web services on production servers
sshsync group web-servers "sudo systemctl restart nginx"

# Preview the command execution on database servers without executing
sshsync group db-servers --dry-run "service postgresql restart"

Push Files to Remote Hosts

sshsync push [OPTIONS] LOCAL_PATH REMOTE_PATH

Options:

  • --all – Push to all configured hosts
  • --group TEXT – Push to a specific group of hosts
  • --host TEXT – Push to a single specific host
  • --recurse – Recursively push a directory and its contents
  • --dry-run – Show transfer and host info without executing

Examples:

# Push configuration file to all hosts
sshsync push --all ./config.yml /etc/app/config.yml

# Push directory to web-servers group recursively
sshsync push --group web-servers --recurse ./app/ /var/www/app/

# Preview file transfer to a specific host without executing
sshsync push --host staging-db --dry-run ./db-config.json /etc/postgres/conf.d/

Pull Files from Remote Hosts

sshsync pull [OPTIONS] REMOTE_PATH LOCAL_PATH

Options:

  • --all – Pull from all configured hosts
  • --group TEXT – Pull from a specific group of hosts
  • --host TEXT – Pull from a single specific host
  • --recurse – Recursively pull a directory and its contents
  • --dry-run – Show transfer and host info without executing

Examples:

# Pull log files from all database servers
sshsync pull --group db-servers /var/log/mysql/error.log ./logs/

# Pull configuration directory from a specific host
sshsync pull --host prod-web-01 --recurse /etc/nginx/ ./backups/nginx-configs/

# Preview which files would be pulled without executing
sshsync pull --group web-servers --dry-run /var/log/nginx/access.log ./logs/
sshsync gadd [OPTIONS] GROUP

Arguments:

  • GROUP – The group to add hosts to (required)

Example:

# Add hosts to the 'web' group
sshsync gadd web

This command interactively adds a new host to your SSH config file.

Example:

# Add a new host to your SSH configuration
sshsync hadd

Synchronize Ungrouped Hosts

This command prompts for group assignments for all ungrouped hosts and updates the config.

Example:

# Assign groups to all ungrouped hosts
sshsync sync

List Configured Hosts and Groups

Options:

  • --with-status – Show whether a host is reachable

Example:

# List all hosts with their connection status
sshsync ls --with-status

sshsync stores its configuration in a YAML file located at ~/.config/sshsync/config.yaml. It uses your existing SSH configuration from ~/.ssh/config for host connection details and stores only group information in its own config file. Before running other commands, it’s recommended to run sshsync sync to assign hosts to groups for easier targeting.

Note about hosts: sshsync uses the SSH alias (the Host directive) from your ~/.ssh/config file, not the actual hostname. This means when you specify a host in any sshsync command, you’re referring to the SSH alias that you’ve defined in your SSH config.

Configuration File Structure

groups:
  dev:
  - example.site
  work:
  - work.dev
  - ssh.work.dev
  web:
  - cloudmesh
  - example.com

You can edit this file manually or use the built-in commands to manage groups and hosts.

Note: sshsync leverages your existing SSH configuration for host details, making it easier to maintain a single source of truth for SSH connections.

sshsync now includes operation history and logging functionality. Logs are stored in platform-specific locations:

  • Windows: %LOCALAPPDATA%\sshsync\logs
  • macOS: ~/Library/Logs/sshsync
  • Linux: ~/.local/state/sshsync

These logs track command executions, file transfers, and any errors that occur during operations.

# Check disk space on all servers
sshsync all "df -h"

# View memory usage on all database servers with increased timeout
sshsync group db-servers --timeout 30 "free -m"

# Preview a potentially destructive command without execution
sshsync all --dry-run "sudo apt update && sudo apt upgrade -y"

# Push configuration files to production servers recursively
sshsync push --group production --recurse ./configs/ /etc/app/configs/

# Pull log files from all web servers
sshsync pull --group web-servers /var/log/nginx/error.log ./logs/

# Preview file transfers to validate paths before execution
sshsync push --all --dry-run ./sensitive-config.json /etc/app/config.json

# Add hosts to the dev group
sshsync gadd dev

# Add a new host to your SSH configuration
sshsync hadd

# Assign groups to all ungrouped hosts
sshsync sync

# Check if hosts are reachable
sshsync ls --with-status

Upcoming Features 🛣️

  • Live results display (–live flag) to show command outputs as they complete
  • Performance optimizations for large server fleets
  • Support for additional authentication methods
  • Automated versioning using release-please for streamlined releases

MIT License

Source Link


Keep your files stored safely and securely with the SanDisk 2TB Extreme Portable SSD. With over 69,505 ratings and an impressive 4.6 out of 5 stars, this product has been purchased over 8K+ times in the past month. At only $129.99, this Amazon’s Choice product is a must-have for secure file storage.

Help keep private content private with the included password protection featuring 256-bit AES hardware encryption. Order now for just $129.99 on Amazon!


Start your free Amazon Prime trial
today and unlock unlimited streaming and more!

Help Power Techcratic’s Future – Scan To Support

If Techcratic’s content and insights have helped you, consider giving back by supporting the platform with crypto. Every contribution makes a difference, whether it’s for high-quality content, server maintenance, or future updates. Techcratic is constantly evolving, and your support helps drive that progress.

As a solo operator who wears all the hats, creating content, managing the tech, and running the site, your support allows me to stay focused on delivering valuable resources. Your support keeps everything running smoothly and enables me to continue creating the content you love. I’m deeply grateful for your support, it truly means the world to me! Thank you!

BITCOIN

Bitcoin Logo

Bitcoin QR Code

bc1qlszw7elx2qahjwvaryh0tkgg8y68enw30gpvge

Scan the QR code with your crypto wallet app

DOGECOIN

Dogecoin Logo

Dogecoin QR Code

D64GwvvYQxFXYyan3oQCrmWfidf6T3JpBA

Scan the QR code with your crypto wallet app

ETHEREUM

Ethereum Logo

Ethereum QR Code

0xe9BC980DF3d985730dA827996B43E4A62CCBAA7a

Scan the QR code with your crypto wallet app

Please read the Privacy and Security Disclaimer on how Techcratic handles your support.

Disclaimer: As an Amazon Associate, Techcratic may earn from qualifying purchases.

Tags: Hacker News
Share162Tweet101Share28
Previous Post

Digital Garden. Generative Art Project

Next Post

Malwarebytes vs McAfee: Which Antivirus Is Right for You?

Hacker News

Hacker News

Stay updated with Hacker News, where technology meets entrepreneurial spirit. Get the latest on tech trends, startup news, and discussions from the tech community. Read the latest updates here at Techcratic.

Related Posts

Diffusion models explained simply | sean goedecke
Hacker News

Diffusion models explained simply | sean goedecke

May 19, 2025
1.3k
clawsoftware/clawPDF: Open Source Virtual (Network) Printer for Windows that allows you to create PDFs, OCR text, and print images, with advanced features usually available only in enterprise solutions.
Hacker News

clawsoftware/clawPDF: Open Source Virtual (Network) Printer for Windows that allows you to create PDFs, OCR text, and print images, with advanced features usually available only in enterprise solutions.

May 19, 2025
1.3k
Don’t Guess My Language
Hacker News

Don’t Guess My Language

May 19, 2025
1.3k
aspizu/goboscript: goboscript is the Scratch compiler
Hacker News

aspizu/goboscript: goboscript is the Scratch compiler

May 19, 2025
1.3k
MinishLab/model2vec-rs: Official Rust Implementation of Model2Vec
Hacker News

MinishLab/model2vec-rs: Official Rust Implementation of Model2Vec

May 18, 2025
1.3k
GitHub – paddymul/buckaroo: Buckaroo – The data table UI for Notebooks. Quickly explore dataframes, scroll through dataframes, search, sort, view summary stats and histograms. Works with Pandas, Polars, Jupyter, Marimo, VSCode Notebooks
Hacker News

GitHub – paddymul/buckaroo: Buckaroo – The data table UI for Notebooks. Quickly explore dataframes, scroll through dataframes, search, sort, view summary stats and histograms. Works with Pandas, Polars, Jupyter, Marimo, VSCode Notebooks

May 18, 2025
1.3k
Load More
Next Post
Malwarebytes vs McAfee: Which Antivirus Is Right for You?

Malwarebytes vs McAfee: Which Antivirus Is Right for You?

Fireblocks Reveals 90% of Industry Participants Are Actively Engaging With Stablecoins

Fireblocks Reveals 90% of Industry Participants Are Actively Engaging With Stablecoins

It just got easier for regular people to protect their privacy

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Your Tech Resources

  • 30 Second Tech ™
  • AI
  • App Zone ™
  • Apple
  • Ars Technica
  • CNET
  • ComputerWorld
  • Crypto News
  • Cybersecurity
  • Endgadget
  • Fossbytes
  • Gaming
  • GeekWire
  • Gizmodo
  • Google News
  • Hacker News
  • Harvard Tech
  • I Like Cats ™
  • I Like Dogs ™
  • LifeHacker
  • MacRumors
  • Macworld
  • Mashable
  • Microsoft
  • MIT Tech
  • PC World
  • Photofocus
  • Physics
  • Random Tech
  • Retro Rewind ™
  • Robot Report
  • SiliconANGLE
  • SlashGear
  • Smartphone
  • StackSocial
  • Tech Art
  • Tech Careers
  • Tech Deals
  • Techcratic ™
  • TechCrunch
  • Techdirt
  • TechRepublic
  • Techs Got To Eat ™
  • TechSpot
  • Tesla
  • The Verge
  • TNW
  • Trusted Reviews
  • UFO
  • VentureBeat
  • Visual Capitalist
  • Weird Stuff
  • Wired
  • ZDNet

Tech News

  • 30 Second Tech ™
  • AI
  • AnandTech
  • Apple Insider
  • Ars Technica
  • CNET
  • ComputerWorld
  • Crypto News
  • Cybersecurity
  • Endgadget
  • ExtremeTech
  • Fossbytes
  • Gaming
  • GeekWire
  • Gizmodo

Tech News

  • Harvard Tech
  • MacRumors
  • Macworld
  • Mashable
  • Microsoft
  • MIT Tech
  • Physics
  • PC World
  • Random Tech
  • Retro Rewind ™
  • SiliconANGLE
  • SlashGear
  • Smartphone
  • StackSocial
  • Tech Careers

Tech News​

  • Tech Art
  • TechCrunch
  • Techdirt
  • TechRepublic
  • Techs Got To Eat ™
  • TechSpot
  • Tesla
  • The Verge
  • TNW
  • Trusted Reviews
  • UFO
  • VentureBeat
  • Visual Capitalist
  • Weird Stuff
  • Wired
  • ZDNet

Site Links

  • About Techcratic
  • Affiliate Disclaimer
  • Affiliate Link Policy
  • Contact Techcratic
  • Dealors Discount Store
  • Privacy and Security Disclaimer
  • Privacy Policy
  • RSS Feed
  • Site Map
  • Support Techcratic
  • Techcratic
  • Tech Deals
  • TOS
  • 𝕏
Click For A Secret Deal

Techcratic – Your All In One Tech Hub © 2020 – 2025
All Rights Reserved
∞

No Result
View All Result
  • Home
  • Apple
  • Gaming
  • Microsoft
  • AnandTech