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

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.1.4.tar.gz (8.6 kB view details)

Uploaded Source

Built Distribution

edwh_sshfs_plugin-0.1.4-py3-none-any.whl (6.1 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for edwh_sshfs_plugin-0.1.4.tar.gz
Algorithm Hash digest
SHA256 43edb430f4648d696bdaefcf5a7df10d25052e9e950b2057ad42e3f64840867d
MD5 8e1e6c7bb2a72c79fa5ba42f9baec82c
BLAKE2b-256 4722cdb3e68f98147a34e3bb100c1d18501fe3db5cf7cee2684eb7a8bcfe3fb5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for edwh_sshfs_plugin-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 4953578f4e90eb7ab1c3f162445af0673e055572e1d32a9128fac6bebcb00922
MD5 295faf4657151f7eb19b2a66ff64f059
BLAKE2b-256 abb7a9c01e1908231619d529c553171fa9721d4dcd2c140f4424c0d2353e38b3

See more details on using hashes here.

Supported by

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