Skip to main content

SSH Spawner: A custom spawner for Jupyterhub to spawn notebooks over SSH

Project description

The sshspawner enables JupyterHub to spawn single-user notebook servers on remote hosts over SSH.

Features

  • Supports SSH key-based authentication

  • Pool of remote hosts for spawning notebook servers

  • Extensible custom load-balacing for remote host pool

  • Remote-side scripting to return IP and port

Requirements

Installation

The sshspawner is installed with the following command:

pip3 install .

Install [scripts/get_port.py](scripts/get_port.py) on remote host and set correct path for c.SSHSpawner.remote_port_command in [jupyterhub_config.py](jupyterhub_config.py)

Configuration

See [jupyterhub_config.py](jupyterhub_config.py) for a sample configuration. Adjust values for your installation.

License

All code is licensed under the terms of the revised BSD license.

Credit

Based on the reference implementation by the NERSC [SSHSpawner](https://github.com/NERSC/sshspawner)

Resources

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

sshspawner-0.0.1a5.tar.gz (6.0 kB view details)

Uploaded Source

Built Distribution

sshspawner-0.0.1a5-py3-none-any.whl (7.1 kB view details)

Uploaded Python 3

File details

Details for the file sshspawner-0.0.1a5.tar.gz.

File metadata

  • Download URL: sshspawner-0.0.1a5.tar.gz
  • Upload date:
  • Size: 6.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.56.2 CPython/3.6.7

File hashes

Hashes for sshspawner-0.0.1a5.tar.gz
Algorithm Hash digest
SHA256 405d8d4b56da77c55a118928df17cd37fd59fe091950368dedf1b5aaadd57bf1
MD5 bf689374a8674406143e676db10ca237
BLAKE2b-256 eebd0f58cfc09304cc31f562a658194245f7f9f3bd51b9b4cc8373f7dfc09f9d

See more details on using hashes here.

File details

Details for the file sshspawner-0.0.1a5-py3-none-any.whl.

File metadata

  • Download URL: sshspawner-0.0.1a5-py3-none-any.whl
  • Upload date:
  • Size: 7.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.56.2 CPython/3.6.7

File hashes

Hashes for sshspawner-0.0.1a5-py3-none-any.whl
Algorithm Hash digest
SHA256 3dd46f58c1cf8f2fd2fba815d9a803878fca8443d5a21f197807080114e4acdc
MD5 c28ec039a9963004fc87a998a509bc45
BLAKE2b-256 313da3971041020d5676e7d5b7d7921badf62f39e29ad6a0a9864241e03749ba

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