Skip to main content

sshfs project with a plugin to be discovered from the edwh package

Project description

edwh-sshfs-plugin

PyPI - Version PyPI - Python Version


Table of Contents

Installation

pip install edwh-sshfs-plugin

But probably you want to install the whole edwh package:

pipx install edwh[sshfs]

or

pipx install edwh[plugins,omgeving]

Also you will be required to run these commands

edwh sshfs.setup
# OR:
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install openssh-client
sudo apt install openssh-server
sudo systemctl enable ssh
sudo apt install sshfs
sudo ufw allow ssh
sudo init 6 #optional for reboot

creating remote mounts

usage

edwh -h {server} sshfs.remote-mount -w {local_dir} -s {server_dir}

The remote_mount function is an asynchronous Python task that allows you to mount a remote directory on your local machine using SSHFS (SSH Filesystem). It establishes a secure connection to a remote server, forwards a port, and mounts the remote directory on the local machine.

Parameters

  • workstation_dir: The local directory path where the remote directory will be mounted to the server_dir.
  • server_dir: The remote directory path that will become a mount
  • queue: An optional parameter representing the queue object for synchronization (default: None).

creating local mounts

Usage

edwh -h {server} sshfs.local-mount -w {local_dir} -s {server_dir}

Arguments

  • workstation_dir(-w): The local directory path That will become a mount
  • server_dir(-s): The remote directory path That will be mounted onto the workstation directory
  • queue: An optional parameter representing the queue object for synchronization (default: None).

License

edwh-sshkey-plugin is distributed under the terms of the MIT license.

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

edwh_sshfs_plugin-0.2.1.tar.gz (8.3 kB view details)

Uploaded Source

Built Distribution

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

edwh_sshfs_plugin-0.2.1-py3-none-any.whl (5.2 kB view details)

Uploaded Python 3

File details

Details for the file edwh_sshfs_plugin-0.2.1.tar.gz.

File metadata

  • Download URL: edwh_sshfs_plugin-0.2.1.tar.gz
  • Upload date:
  • Size: 8.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-httpx/0.28.1

File hashes

Hashes for edwh_sshfs_plugin-0.2.1.tar.gz
Algorithm Hash digest
SHA256 e33cdcfaf17e85d529b0671ab85771c9b130fe37eb23bbeca4d9afcb804d405e
MD5 5c98cfb4d27ae5c19e832d7a58e36dba
BLAKE2b-256 6af23f21bbb7f2ed275962d12fe6410d2359a95e6e92aea4a6cd863057e22b35

See more details on using hashes here.

File details

Details for the file edwh_sshfs_plugin-0.2.1-py3-none-any.whl.

File metadata

File hashes

Hashes for edwh_sshfs_plugin-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 da8a582f7de5270dddec4d4938c40bb77b6b248a55b70c32c266a7d43044e1be
MD5 4c08073123862bce5027e58309698888
BLAKE2b-256 999fd01315bc208eb5680b776d61b2da8bc80d3154ec6a7e5d949492819c0967

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