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.1.tar.gz (3.8 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.1-py3-none-any.whl (4.6 kB view details)

Uploaded Python 3

File details

Details for the file synchive-0.5.1.tar.gz.

File metadata

  • Download URL: synchive-0.5.1.tar.gz
  • Upload date:
  • Size: 3.8 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.1.tar.gz
Algorithm Hash digest
SHA256 5d6734ca75a678cacdd4ff59b78d0e93f9c7ce6d9225913cfb79f2430d14d435
MD5 6c23a10d90349cce6d5c41ac21255bd0
BLAKE2b-256 f324a144e9d62b8d402e60de7a5d5cb82cf04e98cdaa571c140b88cfabb456e4

See more details on using hashes here.

File details

Details for the file synchive-0.5.1-py3-none-any.whl.

File metadata

  • Download URL: synchive-0.5.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 783ab7fdcd9602d464ab0a50aa3f016a6a78a60720bf13c62dc43da6dced89c6
MD5 80d8f967180dd2cc83bad8fb8d404f19
BLAKE2b-256 792fdf647e21456fea7a6b32e4ea5c5bbc07cc490c6381299b11414579da13f5

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