Skip to content
This repository has been archived by the owner on Apr 29, 2021. It is now read-only.

Commit

Permalink
Merge pull request #41 from NERSC/sshspawner-fix
Browse files Browse the repository at this point in the history
update sshspawner config
  • Loading branch information
scanon authored Oct 12, 2018
2 parents 26fb274 + 144d448 commit 876ed97
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion jupyter-sshspawner/web/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM registry.spin.nersc.gov/das/jupyterhub-base:latest
FROM registry.spin.nersc.gov/das/jupyterhub-jupyter-dev.deploy-18-10:latest
MAINTAINER Rollin Thomas <rcthomas@lbl.com>

# JupyterHub components
Expand Down
4 changes: 2 additions & 2 deletions jupyter-sshspawner/web/jupyterhub_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -748,7 +748,7 @@
c.JupyterHub.spawner_class = 'sshspawner.sshspawner.SSHSpawner'

# The remote host to spawn notebooks on
c.SSHSpawner.remote_host = 'app'
c.SSHSpawner.remote_hosts = ['app']
c.SSHSpawner.remote_port = '22'

# The system path for the remote SSH session. Must have the jupyter-singleuser and python executables
Expand All @@ -757,6 +757,6 @@
# The command to return an unused port on the target system. See scripts/get_port.py for an example
c.SSHSpawner.remote_port_command = '/opt/anaconda3/bin/get_port.py'

c.SSHSpawner.ssh_keyfile = '/tmp/%U.key'
c.SSHSpawner.ssh_keyfile = '/tmp/{username}.key'

c.SSHSpawner.hub_api_url = 'http://web:8081/hub/api'

0 comments on commit 876ed97

Please sign in to comment.