ipython / ipython/ipython

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

Đang mở
#10,934 10 bình luận 0 reaction 0 người được giao Xem trên GitHub
help wanted
Ngôn ngữ chính
Python
Star
16.8k
Fork
4.5k
Merge trung bình
1 ngày 2 giờ
Pull request đã merge (30 ngày)
6

Mô tả

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.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.