the-littlest-jupyterhub icon indicating copy to clipboard operation
the-littlest-jupyterhub copied to clipboard

Enable SSH Authentication

Open fracorallo opened this issue 4 years ago • 2 comments

Proposed change

Make it possible to login via SSH into the jupyter-user.

Alternative options

SSH could be useful to let users choose using Jupyter or VSCode or other programs to code.

Who would use this feature?

All users could take advantage of this increased optional flexibility.

(Optional): Suggest a solution

Here someone is trying to install "SSH Authenticator" in TLJH without success: https://discourse.jupyter.org/t/problem-with-ssh-authenticator-for-jupyterhub/11710

fracorallo avatar Nov 26 '21 14:11 fracorallo

Found a way to enable SSH in TLJH: Using the command "sudo passwd -aS" it shows that jupyter-users are associated with the flag "L"="Locked-Password". The admin should reset the jupyter-user password with the command "sudo passwd jupyter-user". After this it is possible to login via SSH. Optionally change the shell with "chsh -s /bin/bash" . Note that after this the jupyter-user will have 2 passwords, one for the OS and one for TLJH!

fracorallo avatar Dec 09 '21 09:12 fracorallo