aws / aws/amazon-q-developer-cli

ssh no longer working at all.

Open
#723 6 comments 1 reaction 0 assignees View on GitHub
Dominant language
Rust
Stars
2k
Forks
439
PR merge metrics
No merged PRs in 30d

Description

### 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"
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.