Does this tool even work with a SSH key with a passphrase?

オープン
#1,038 コメント 3 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
35/100
issue の種類
バグ
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
python
領域
cli, networking

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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.
主要言語
Python
スター
13.6k
フォーク
795
平均マージ
8時間 49分
マージ済み PR(30日)
12

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

このリポジトリのコントリビューションガイドは索引されていません

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

sshuttle/sshuttle のほかの issue

sshuttle/sshuttle の issue をすべて見る

似ている issue

Python の issue をもっと見る

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

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