aws / aws/amazon-q-developer-cli

cli doctor Failing

Open
#3,557 0 comments 0 reactions 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

Linux 5.10.245-245.983.amzn2int.x86_64 - Amazon Linux 2

### Expected behaviour

I am expecting no error shall be reported

### Actual behaviour

kiro-cli doctor

✘ sshd config: Could not read sshd_config

The /etc/ssh/sshd_config file needs to have the following line:
AcceptEnv Q_SET_PARENT
AllowStreamLocalForwarding yes

If your sshd_config is already configured correctly then:
1. Restart sshd, if using systemd: sudo systemctl restart sshd
2. Disconnect from the remote host
3. Run kiro-cli integrations install ssh on the local machine
4. Reconnect to the remote host and run kiro-cli doctor again

✘ Doctor found errors. Please fix them and try again.

If you are not sure how to fix it, please open an issue with kiro-cli issue to let us know!

### Steps to reproduce

run below command:

kiro-cli doctor

### Environment

```yaml

[q-details]
version = "1.23.0"
hash = "e6c9813d5497e3e0cd679870dc565bd96a29a300"
date = "2025-12-18T22:53:02.692006Z (4d ago)"
variant = "minimal"

[system-info]
chip = "Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz"
total-cores = 4
memory = "30.89 GB"

[system-info.os.linux]
kernel_version = "5.10.245-245.983.amzn2int.x86_64"
id = "amzn"
name = "Amazon Linux"
pretty_name = "Amazon Linux 2"
version_id = "2"
version = "2"
variant = "internal"

[environment]
cwd = "/local/home/USER/workspace3/src/FintechOfaMechanicNamespace"
cli-path = "/local/home/USER/workspace3/src/FintechOfaMechanicNamespace"
os = "Linux"
shell-path = "/local/home/USER/.toolbox/tools/toolbox/1.1.2466.0/toolbox-exec"
shell-version = "5.8"
install-method = "toolbox"

[env-vars]
PATH = "/home/USER/.local/share/mise/installs/node/22.9.0/bin:/usr/lib/jvm/java-16-amazon-corretto/bin:/home/USER/.toolbox/bin:/local/home/USER/.kiro-server/bin/ff5b0b54a4bf5780b759a0cf91b16350f8f1fd95/bin/remote-cli:/usr/lib/jvm/java-16-amazon-corretto/bin:/home/USER/.toolbox/bin:/home/USER/.cargo/bin:/usr/bin:/bin:/home/USER/bin:/usr/local/sbin:/usr/sbin:/home/USER/.local/bin"
Q_SET_PARENT_CHECK = "1"
TERM = "xterm-256color"
ZDOTDIR = "/home/USER"
```

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.