[Bug]: `Match exec "step ssh check-host %h"` causes SSH connections through ProxyJump to hang
Mantenedores costumam responder em até 1 dia
Ninguém assumiu esta issue ainda.
Avaliação
- Dificuldade
- 2/5
- Tempo estimado
- 1-3 horas
- Facilidade para iniciantes
- 74/100
- Tipo de issue
- Bug
- Clareza
- Razoavelmente clara
- Status de atividade
- Ativa
- Stack de tecnologia
- go
- Domínio
- cli, networking
Direção de pesquisa
Comece verificando a versão do Go usada para compilar o Step e compare-a com a correção referenciada na Go issue #80979; o relatório diz que o Step 0.31.0 inclui o Go 1.27.1 e que atualizar para a versão 1.27.2 deve resolver o travamento. Reproduza o problema no Windows 11 com ProxyJump e Match exec "step ssh check-host %h" e, em seguida, confirme que o SSH se conecta com a correção.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
Steps to Reproduce
SSH hangs when the connection involves both ProxyJump and step ssh check-host.
Using an otherwise working ProxyJump configuration:
- Without any Step invocation during SSH startup, the connection succeeds.
- Adding only the following block causes it to fail:
Match exec "step ssh check-host %h"
ServerAliveInterval 60
The failing nested SSH connection logs:
debug3: write ERROR from cb(2):87
debug2: channel 0: write failed
This reproduces without using step ssh proxycommand, isolating the trigger to executing check-host.
We suspect Go #80979. Step 0.31.0 embeds Go 1.27.1, before the relevant fix. We have not yet verified a rebuilt Step binary containing that fix. The issue described in that patch involves Windows pipes, which explains why both ProxyJump and step ssh check-host are required for the issue
Some other notes:
- Direct connections appear fine (i.e.,
ProxyJumpis required to reproduce) - We know that at least Step
0.31.0is affected - Downgrading to Step
0.28.7resolves the issue (with the same config) - We haven't identified the first affected version, but the Go issue notes a regression between Go
1.24.6and1.26.0
Full example:
Host jumphost
HostName jumphost.example.com
Host targethost
HostName targethost.example.com
ProxyJump jumphost
Match exec "step ssh check-host %h"
ServerAliveInterval 60
Summary: Bump to Go 1.27.2 should solve this issue.
Your Environment
Windows 11
Step 0.31.0
Expected Behavior
SSH works
Actual Behavior
SSH hangs
Additional Context
No response
Contributing
Vote on this issue by adding a 👍 reaction.
To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).
- Linguagem predominante
- Go
- Estrelas
- 4.3k
- Forks
- 320
- Merge médio
- 2d 3h
- PRs com merge (30d)
- 11
Preparar o ambiente
- Sem Dockerfile nem arquivo Docker Compose
- Tem um modelo de pull request
- Ler o guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de smallstep/cli
-
enhancement needs triage
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 32/100
Mantenedores costumam responder em até 1 dia
-
enhancement needs triage
Dificuldade 3/5 1-2 dias Facilidade para iniciantes 57/100
smallstep/cli#1713 · 1 reação ·
Mantenedores costumam responder em até 1 dia
-
enhancement needs triage
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 35/100
smallstep/cli#1710 · 1 comentário · 1 reação ·
Mantenedores costumam responder em até 1 dia
-
[Bug]: `step ca provisioner add --ca-config` requires `--ca-url`/`--root` even for purely local/offline editsTalvez já em andamento @vulragrag-star assumiu há 53 dias. Abertabug needs triage
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 20/100
smallstep/cli#1705 · 1 reação ·
Mantenedores costumam responder em até 1 dia
-
bug needs triage
Dificuldade 3/5 1-2 dias Facilidade para iniciantes 63/100
Mantenedores costumam responder em até 1 dia
Todas as issues de smallstep/cli
Issues semelhantes
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 75/100
Mantenedores costumam responder em até 1 dia
-
agent-butler-finding chore
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 88/100
jordansmall/spindrift#6695 ·
Mantenedores costumam responder em até 1 dia
-
skills-init: commit-SHA skill refs never start (git checkout -- <sha> reads the SHA as a pathspec)Aberta
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 84/100
kagent-dev/kagent#3571 ·
Mantenedores costumam responder em até 1 dia
-
book-layout.spec fails when the similar-books rail holds other projects' booksTalvez já em andamento @praetorianer777 assumiu hoje. Aberta
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
praetorianer777/GoTome#373 ·
Mantenedores costumam responder em até 1 dia
-
bug
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 80/100