aws / aws/amazon-q-developer-cli

ssh no longer working at all.

Offen
#723 6 Kommentare 1 Reaktion 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Rust
Sterne
2k
Forks
439
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

### Checks

- [x] I have searched [github.com/aws/amazon-q-developer-cli/issues](https://github.com/aws/amazon-q-developer-cli/issues?q=) and there are no duplicates of my issue
- [x] I have run `q doctor` in the affected terminal session
- [x] I have run `q restart` and replicated the issue again

### Operating system

macOS 15.4.0 (24E5222f)

### Expected behaviour

ssh to work as it always has in the past.

### Actual behaviour

Issued the command: ssh user@host

Received the error:

Missing Match criteria for exec=command -v q && q internal generate-ssh --remote-host %h --remote-port %p --remote-username %r
/Users/pjc/Library/Application Support/amazon-q/ssh line 1: Bad Match condition
/Users/pjc/Library/Application Support/amazon-q/ssh: terminating, 1 bad configuration options

### Steps to reproduce

Happens every time I attempt to use ssh. This started a day or so ago, and I have completely restarted my laptop since then.

### Environment

```yaml
[q-details]
version = "1.6.3"
hash = "f46e721e4d1a329bbb2007c5be2b685582c6231f"
date = "2025-02-20T04:18:46.034092Z (12d ago)"
variant = "full"

[system-info]
os = "macOS 15.4.0 (24E5222f)"
chip = "Apple M1"
total-cores = 8
memory = "8.00 GB"

[environment]
cwd = "/Users/USER"
cli-path = "/Users/USER"
os = "Mac"
shell-path = "/bin/zsh"
shell-version = "5.9"
terminal = "Ghostty"
install-method = "unknown"

[env-vars]
PATH = "/opt/homebrew/opt/ruby/bin:/Users/USER/.nvm/versions/node/v20.11.1/bin:/Users/USER/.config/tmux/plugins/t-smart-tmux-session-manager/bin:/Users/USER/bin:/Users/USER/.local/bin:/Users/USER/.cargo/bin:/opt/homebrew/bin:/opt/homebrew/sbin:/opt/local/sbin:/opt/local/bin:/usr/local/sbin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Applications/Ghostty.app/Contents/MacOS:/Users/USER/.cache/zsh4humans/v5/fzf/bin:/opt/homebrew/opt/fzf/bin"
QTERM_SESSION_ID = "7590d11ff44540eca1447c5f2e057ddb"
Q_SET_PARENT_CHECK = "1"
Q_TERM = "1.6.3"
SHELL = "/bin/zsh"
TERM = "xterm-ghostty"
__CFBundleIdentifier = "com.mitchellh.ghostty"
```

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

Mit `ssh user@host` nach `q restart` reproduzieren, anschließend `/Users/pjc/Library/Application Support/amazon-q/ssh` und den Einstiegspunkt `q internal generate-ssh` untersuchen. Erledigt ist es, wenn die generierte SSH-Konfiguration unter macOS 15.4 akzeptiert wird und der Befehl ohne die gemeldete Bedingung Bad Match eine Verbindung herstellt; mit der bereitgestellten `q doctor`-Umgebung validieren.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
rust, shell
Bereich
cli, networking, operating-systems
Issue-Typ
Bug
Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
35/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.