Tunneling to remote kernel on a server with two-factor authentication
- Dominant language
- Python
- Stars
- 16.8k
- Forks
- 4.5k
- Avg merge
- 1d 2h
- Merged PRs (30d)
- 6
Description
I'm following the guide in [https://github.com/ipython/ipython/wiki/Cookbook:-Connecting-to-a-remote-kernel-via-ssh](https://github.com/ipython/ipython/wiki/Cookbook:-Connecting-to-a-remote-kernel-via-ssh) to connect to a remote jupyter kernel.
However, my server has two-factor authentication. So I get stuck at the step: `jupyter console --existing ./kernel-1234.json --ssh server`. I can set up the tunnels manually and proceed from there without the `--ssh server` flag.
So, I was wondering if it would be possible to make provisions for two-factor authentication while tunneling with the `--ssh` flag? It would involve prompting users for tokens when ssh connections are made.
Contributor guide
Assessment
This issue has not been assessed yet.