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.3.tar.gz (16.2 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.3-py3-none-any.whl (18.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: stashhouse_ssh-0.0.3.tar.gz
  • Upload date:
  • Size: 16.2 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.3.tar.gz
Algorithm Hash digest
SHA256 9e5a054ef8db708652c8258145efee03cf18ff73134135b1e107d510c0cccaa0
MD5 07f53bb79bf7051b762333cea32df2de
BLAKE2b-256 4151c66b5f5c363873a2c1f7d32543feea9aeadcb46a7d4ebfd3b238bd3972e4

See more details on using hashes here.

Provenance

The following attestation bundles were made for stashhouse_ssh-0.0.3.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.3-py3-none-any.whl.

File metadata

  • Download URL: stashhouse_ssh-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 18.2 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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 1e46cd05b1e7c5e8c4340b362c6dc139f5c861b31bcc7eabf811c3bda5263ed2
MD5 5714f27f277c37d3e6a31cc3e2687156
BLAKE2b-256 116e0c6e6f5b42c96a346ba78016e3cbf6b41bdb942a5852dd8fddb0e63efadd

See more details on using hashes here.

Provenance

The following attestation bundles were made for stashhouse_ssh-0.0.3-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