Skip to main content

Automated file backup and synchronization over SSH within a shared network for seamless data management.

Project description

🚀 Setting Up OpenSSH on Windows and Linux

Follow this step-by-step guide to install and configure OpenSSH on your system, whether you're using Windows or Linux.


🔹 Announcement

📢 Synchronization among the network shared devices will be released soon.


🔹 Installing OpenSSH

Windows Installation

Step 1: Install OpenSSH

  1. Open Settings and search for "Add Optional Features".
  2. Click Add Features.
  3. Install OpenSSH Server and OpenSSH Client.

Step 2: Start OpenSSH Services

Run the following commands in PowerShell (Admin Mode):

Start-Service sshd
Set-Service -Name sshd -StartupType 'Automatic'

Step 3: Customize the SSH Port (Optional)

  1. Open the SSH configuration file:
    C:\ProgramData\ssh\sshd_config
    
  2. Locate the line #Port 22.
  3. Remove # and change 22 to your preferred port:
    Port <your_custom_port>
    

Step 4: Restart OpenSSH Service

Run the following in PowerShell (Admin Mode):

net stop sshd
net start sshd

Step 5: Restart OpenSSH via Services (Alternative Method)

  1. Press Win + R, type services.msc, and press Enter.
  2. Find OpenSSH Server, right-click it, and select Restart.

🎉 Success! OpenSSH is now set up and running on Windows. You can start connecting via SSH!


Linux Installation

Step 1: Check if OpenSSH is Installed

Run the following command:

sudo systemctl status ssh

If OpenSSH is not installed, install it with:

sudo apt install openssh-server

Step 2: Allow SSH in the Firewall (Default Port: 22)

sudo ufw allow 22/tcp

Step 3: Verify Open Ports

Check if SSH is listening on the correct port:

sudo netstat -tulnp

🎉 You're All Set! Your Linux system is now ready to accept SSH connections.


🔹 Using SyncHive for Automated Backups

Step 1: Install SyncHive

pip install SyncHive

Step 2: Configure SyncHive

Edit the config.json file to specify your backup settings.

Step 3: Import and Use SyncHive

from synchive import create_backup

create_backup()  # Call the function to start the backup

🚀 SyncHive is now set up and ready to automate your backups!

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

SyncHive-0.5.0.tar.gz (3.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

SyncHive-0.5.0-py3-none-any.whl (4.6 kB view details)

Uploaded Python 3

File details

Details for the file SyncHive-0.5.0.tar.gz.

File metadata

  • Download URL: SyncHive-0.5.0.tar.gz
  • Upload date:
  • Size: 3.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 colorama/0.4.4 importlib-metadata/4.6.4 keyring/23.5.0 pkginfo/1.8.2 readme-renderer/34.0 requests-toolbelt/0.9.1 requests/2.25.1 rfc3986/1.5.0 tqdm/4.57.0 urllib3/1.26.5 CPython/3.10.12

File hashes

Hashes for SyncHive-0.5.0.tar.gz
Algorithm Hash digest
SHA256 386780e8a653e898ef1d82e0ab55d915f2697c63719cd6998228a3449c56b688
MD5 dc8b4ba60ae3ea0c1ca85a329cd4f01e
BLAKE2b-256 9874453a7fa47b97c221d928c92187e378a784a56b72c6fba24ad57d27c9dd23

See more details on using hashes here.

File details

Details for the file SyncHive-0.5.0-py3-none-any.whl.

File metadata

  • Download URL: SyncHive-0.5.0-py3-none-any.whl
  • Upload date:
  • Size: 4.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 colorama/0.4.4 importlib-metadata/4.6.4 keyring/23.5.0 pkginfo/1.8.2 readme-renderer/34.0 requests-toolbelt/0.9.1 requests/2.25.1 rfc3986/1.5.0 tqdm/4.57.0 urllib3/1.26.5 CPython/3.10.12

File hashes

Hashes for SyncHive-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a8f6deef99581405d45cd4d885f8b758755b4935053e1d81737476f364d53380
MD5 5ac76814ee052d68b75d268e8c043dc2
BLAKE2b-256 a1f375abd78fa5af560174fdfc98a9df61ab972bdba27ddeb1b4cc480985982a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page