ipython / ipython/ipython

Tunneling to remote kernel on a server with two-factor authentication

Aperta
#10,934 10 commenti 0 reazioni 0 assegnatari Vedi su GitHub
help wanted
Lingua principale
Python
Stelle
16.8k
Fork
4.5k
Merge medio
1g 2h
PR unite (30g)
6

Descrizione

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.

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.