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.4.tar.gz (16.5 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.4-py3-none-any.whl (18.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: stashhouse_ssh-0.0.4.tar.gz
  • Upload date:
  • Size: 16.5 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.4.tar.gz
Algorithm Hash digest
SHA256 6e3301213b42f25f8638d20d28f58a150b7617a34001b21cd0e990d66161936e
MD5 9d849b573208baaed941cfef97175b00
BLAKE2b-256 226c184fa5f1960fd515b7ca3ef4094b933df6f1745c30f03f1d9922db7d3698

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: stashhouse_ssh-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 18.7 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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 69c264c672ee1ff571d0e972fbe488594894d1790b32d0d96ee0c879f407e516
MD5 0162368dfc9f4ae9dfb8a451701ce240
BLAKE2b-256 6fef9cf28845e15329bf20f7faf57da02fdef00bd8321b40091f6e9384b96eb8

See more details on using hashes here.

Provenance

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