Certain Commands return in putty but not Renci.SsshNet
Nadie ha tomado este issue todavía.
- Lenguaje dominante
- C#
- Estrellas
- 4.4k
- Forks
- 993
- Merge medio
- 9 d 21 h
- PR fusionados (30 d)
- 1
Descripción
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
Guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Línea de trabajo
Reproduce el comportamiento con arp -e y service --status-all mediante Renci.SshNet, comparando su salida redirigida con uname -a en los entornos Raspbian y Ubuntu indicados. Determina si el texto que falta se devuelve a través de un stream diferente o si la ejecución del comando influye en él, y considera terminado el issue cuando estos comandos produzcan la salida esperada.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- csharp
- Área
- networking
- Tipo de issue
- Error
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Estado de actividad
- Estancado
- Claridad
- Necesita aclaración
- Aptitud para principiantes
- 35/100