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
Python 3.6 - 3.9
[JupyterHub](http://jupyter.org/install)
[AsyncSSH](https://asyncssh.readthedocs.io/en/latest/#installation)
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
[Documentation for JupyterHub](https://jupyterhub.readthedocs.io)
[Documentation for Project Jupyter](https://jupyter.readthedocs.io/en/latest/index.html) | [PDF](https://media.readthedocs.org/pdf/jupyter/latest/jupyter.pdf)
[Project Jupyter website](https://jupyter.org)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Hashes for sshspawner-0.0.0a0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8ed67f1b315e5b43ef0f5702909d248b8754776dfb8626b9a12159541697f6e7 |
|
MD5 | ddfed2843d48dee959d7c0d5d85ace2f |
|
BLAKE2b-256 | f84f901fb51a50593a8a8d2a759421bd07a31f5126b56d41ffb7a80cf7f5eb2e |