Certain Commands return in putty but not Renci.SsshNet
Nessuno ha ancora preso questa issue.
- Lingua principale
- C#
- Stelle
- 4.4k
- Fork
- 993
- Merge medio
- 9g 21h
- PR unite (30g)
- 1
Descrizione
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
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Direzione di ricerca
Riprodurre il comportamento con arp -e e service --status-all tramite Renci.SshNet, confrontando il loro output reindirizzato con uname -a negli ambienti Raspbian e Ubuntu segnalati. Determinare se il testo mancante viene restituito tramite uno stream diverso o se è influenzato dall'esecuzione del comando, e considerare conclusa la issue quando questi comandi producono l'output previsto.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- csharp
- Ambito
- networking
- Tipo di issue
- Bug
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Ferma
- Chiarezza
- Da chiarire
- Idoneità per principianti
- 35/100