sshfs project with a plugin to be discovered from the edwh package
Project description
edwh-sshfs-plugin
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 mountqueue
: 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 mountserver_dir(-s)
: The remote directory path That will be mounted onto the workstation directoryqueue
: 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
Built Distribution
File details
Details for the file edwh_sshfs_plugin-0.2.0.tar.gz
.
File metadata
- Download URL: edwh_sshfs_plugin-0.2.0.tar.gz
- Upload date:
- Size: 8.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-httpx/0.27.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 802df22c1202de127f952ee36762e845ec7e85008bd6d819398fd68b16b95d47 |
|
MD5 | 77c912752b3a45e02d5fa211507c3be9 |
|
BLAKE2b-256 | 4dc76b280bceab48f492888b7cc38cc7e4a7ca361db5474978a47d311fdc2b53 |
File details
Details for the file edwh_sshfs_plugin-0.2.0-py3-none-any.whl
.
File metadata
- Download URL: edwh_sshfs_plugin-0.2.0-py3-none-any.whl
- Upload date:
- Size: 6.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-httpx/0.27.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e60de4c809ea32b4a0cce7e3b39ee0005ce01ab1f35a95b11a749fe0da72563a |
|
MD5 | aea7913ce63fa277b0e364ea00807378 |
|
BLAKE2b-256 | 109e9c5471ede7af2009665ce22237195b5c5f4451bf4ce308d3feda3972639d |