Does this tool even work with a SSH key with a passphrase?
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 35/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Cần làm rõ
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- python
- Lĩnh vực
- cli, networking
Hướng nghiên cứu
Start by reproducing both commands from the issue and compare the passphrase prompt with the resulting remote command and exit code. No file or test is named; done means establishing the sshuttle session successfully with a passphrase-protected SSH key.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
I cannot find any command that accepts SSH key along with passphrase. Here are the commands I am trying but all of them failing.
sshuttle -r ubuntu@10.x.x.x 0/0 -vv
.
.
.
Authorized uses only. All activity may be monitored and reported.
ubuntu@10.x.x.x: Permission denied (publickey).
c : fatal: failed to establish ssh session (2)
The following command accepts passphrase but fails miserably.
sshuttle -e 'ssh ubuntu@10.x.x.x -i key' -r ubuntu@10.x.x.x 0/0 -vv
.
.
.
Authorized uses only. All activity may be monitored and reported.
Enter passphrase for key 'key':
bash: ubuntu@10.x.x.x: command not found
c : fatal: server died with error code 127
This error code likely means that we were unable to execute /bin/sh on the remote server. This can happen if /bin/sh does not exist on the server or if you are in a restricted shell that does not allow you to run programs specified with an absolute path. Try rerunning sshuttle with the --python parameter.
- Ngôn ngữ chính
- Python
- Star
- 13.6k
- Fork
- 795
- Merge trung bình
- 8 giờ 49 phút
- Pull request đã merge (30 ngày)
- 12
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của sshuttle/sshuttle
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 67/100
-
disable dns cache flush Đang mở
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 48/100
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 42/100
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 25/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 55/100
Tất cả issue của sshuttle/sshuttle
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
-
enhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100