Skip to main content

StashHouse plugin for SCP and SFTP

Project description

🖥️ StashHouse: SSH Plugin



Purpose

A plugin for StashHouse to include a Secure Copy Protocol (SCP) and Secure File Transfer Protocol (SFTP) server without authentication.

Registers a plugin named ssh and provides a --ssh.port argument to configure the port to listen on.

Usage

This package is a plugin for StashHouse. To install the program:

python3 -m pip install 'stashhouse[ssh]'

The following command-line arguments are available:

--ssh.port: The port to start the SCP/SFTP server on
--ssh.host-key-file: The host key file to use.
--ssh.disable-host-key-save: Disables saving a new host key file if one does not exist.

For example, to start the SCP/SFTP server on port 2222 and use the SSH host key file at ssh-host-key, generating it if it does not exist:

stashhouse -e ssh --ssh.port 2222 --ssh.host-key-file ssh-host-key

Security

By default, this plugin should not be deployed in an internet-facing manner to prevent unwanted file uploads. Always deploy it with appropriate security restrictions such as, but not exclusively, firewall rules.

License

This package contains code under multiple licenses. This package primarily consists of code under the MIT License with certain derivative works under the Eclipse Public License v2.0.

MIT License
Copyright (c) 2025 Jayson Fong

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
Eclipse Public License v2.0
Copyright (c) 2013-2024 by Ron Frederick <ronf@timeheart.net> and others.

This program and the accompanying materials are made available under the terms of the Eclipse Public License v2.0 which 
accompanies this distribution and is available at:

http://www.eclipse.org/legal/epl-2.0/
This program may also be made available under the following secondary licenses when the conditions for such availability 
set forth in the Eclipse Public License v2.0 are satisfied:

GNU General Public License, Version 2.0, or any later versions of that license
SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-or-later

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

stashhouse_ssh-0.0.5.tar.gz (16.4 kB view details)

Uploaded Source

Built Distribution

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

stashhouse_ssh-0.0.5-py3-none-any.whl (18.1 kB view details)

Uploaded Python 3

File details

Details for the file stashhouse_ssh-0.0.5.tar.gz.

File metadata

  • Download URL: stashhouse_ssh-0.0.5.tar.gz
  • Upload date:
  • Size: 16.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for stashhouse_ssh-0.0.5.tar.gz
Algorithm Hash digest
SHA256 8ca9ee0a8be814a28a01037df102ed04b024385a8fb0015e029de5fc176ed8f7
MD5 eed9632d56f49aef0fbf5f32a3b85a0f
BLAKE2b-256 3faef18ceb71b59669bb8278302e03774fa716f25d60991eeb1617fd91e88a4a

See more details on using hashes here.

Provenance

The following attestation bundles were made for stashhouse_ssh-0.0.5.tar.gz:

Publisher: python-publish.yml on Jayson-Fong/stashhouse-ssh

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file stashhouse_ssh-0.0.5-py3-none-any.whl.

File metadata

  • Download URL: stashhouse_ssh-0.0.5-py3-none-any.whl
  • Upload date:
  • Size: 18.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for stashhouse_ssh-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 a1a77a2492656efffd75eaba1408fe4fbedc32f76924717e222c49a8b720fe84
MD5 88d43affc930913aef4824150d3ff81e
BLAKE2b-256 e0fcb5df07698dd11898c7ff51545883767b09088a67ccfda7577951b703bbed

See more details on using hashes here.

Provenance

The following attestation bundles were made for stashhouse_ssh-0.0.5-py3-none-any.whl:

Publisher: python-publish.yml on Jayson-Fong/stashhouse-ssh

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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