Does this tool even work with a SSH key with a passphrase?
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 35/100
- Tipo de issue
- Error
- Claridad
- Necesita aclaración
- Estado de actividad
- Estancado
- Stack tecnológico
- python
- Área
- cli, networking
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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.
- Lenguaje dominante
- Python
- Estrellas
- 13.6k
- Forks
- 795
- Merge medio
- 8 h 49 min
- PR fusionados (30 d)
- 12
Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
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.
Más de sshuttle/sshuttle
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 67/100
-
disable dns cache flush Abierto
Dificultad 3/5 1-2 días Aptitud para principiantes 48/100
-
Dificultad 4/5 3-5 días Aptitud para principiantes 42/100
-
Dificultad 4/5 3-5 días Aptitud para principiantes 25/100
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 55/100
Todos los issues de sshuttle/sshuttle
Issues similares
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
use-agent-os/agent-os#3314 ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
BasedHardware/omi#15662 · 1 comentario ·
-
documentation help wanted
Dificultad 2/5 1-3 horas Aptitud para principiantes 90/100
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
AiursoftWeb/AnduinOS-2#19 ·