Certain Commands return in putty but not Renci.SsshNet
まだ誰も着手していません。
- 主要言語
- C#
- スター
- 4.4k
- フォーク
- 993
- 平均マージ
- 9日 21時間
- マージ済み PR(30日)
- 1
説明
Hey, i am using the SSH library for a backup tool and i find with certain commands i dont get anything returned, i have the output redirected to a text document
For example in putty (i have * out some info):
arp -e
Address HWtype HWaddress Flags Mask Iface
192.168.. ether 1c:59:::: C wlan0
192.168.. ether 10:f0:::: C wlan0
in Renci.SshNet is just an empty string get returned
Its not even that its reading the args wrong as this works fine
putty:
uname -a
Linux raspberrypi 4.9.35-v7+ #1014 SMP Fri Jun 30 14:47:43 BST 2017 armv7l GNU/Linux
Renci.SshNet:
Linux raspberrypi 4.9.35-v7+ #1014 SMP Fri Jun 30 14:47:43 BST 2017 armv7l GNU/Linux
The other one I've noticed is the service checker (again replaced some info with *)
service --status-all
putty:
[ * ] alsa-utils
[ * ] avahi-daemon
[ * ] bluetooth
[ * ] bootlogs
[ * ] bootmisc.sh
[ * ] checkfs.sh
[ * ] checkroot-bootclean.sh
Renci.SshNet is an empty string
Tried on Raspian and a Ubuntu Server edition, and adding 2>/dev/null with no change on either platform
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
Raspbian と Ubuntu の報告された環境で、arp -e および service --status-all の動作を Renci.SshNet 経由で再現し、それらのリダイレクトされた出力を uname -a と比較する。欠落しているテキストが別のストリームを通じて返されているのか、コマンドの実行による影響を受けているのかを確認し、これらのコマンドが期待される出力を生成すれば issue は完了とする。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- csharp
- 領域
- networking
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 35/100