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.4.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.4.0-py3-none-any.whl (4.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: SyncHive-0.4.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.4.0.tar.gz
Algorithm Hash digest
SHA256 855cbb887eac5f7471470a25239051c90941177b975569f1d065d9e970ec5cb6
MD5 8505566cb3b5d013a94416a8aa3cc1ae
BLAKE2b-256 27775bf3424533699311c449fc70638023d22737a42b7318ba84198434865f2a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: SyncHive-0.4.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.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 aa15e8c974939534be5e062d1ab653556e4e8cbfcf39fb9f4b876df7c896c9be
MD5 b6425b796abab1e6bf46ab650783d156
BLAKE2b-256 7e4c770e3df328daa6b8d7f12c1ab292b7f4438b75006837d560e473447ef40b

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