ipython / ipython/ipython

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

オープン
#10,934 コメント 10 件 リアクション 0 件 担当者 0 名 GitHub で見る
help wanted
主要言語
Python
スター
16.8k
フォーク
4.5k
平均マージ
1日 2時間
マージ済み PR(30日)
6

説明

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.

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。