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 Distribution
Built Distribution
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 405d8d4b56da77c55a118928df17cd37fd59fe091950368dedf1b5aaadd57bf1 |
|
MD5 | bf689374a8674406143e676db10ca237 |
|
BLAKE2b-256 | eebd0f58cfc09304cc31f562a658194245f7f9f3bd51b9b4cc8373f7dfc09f9d |
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3dd46f58c1cf8f2fd2fba815d9a803878fca8443d5a21f197807080114e4acdc |
|
MD5 | c28ec039a9963004fc87a998a509bc45 |
|
BLAKE2b-256 | 313da3971041020d5676e7d5b7d7921badf62f39e29ad6a0a9864241e03749ba |