aws / aws/amazon-q-developer-cli

On AL2023, q doctor complains about ssh integeation

Open
#302 11 comments 3 reactions 0 assignees View on GitHub
bug
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 6.1.112-124.190.amzn2023.x86_64 - Amazon Linux 2023.6.20241212

### Expected behaviour

I did install q commandline for remote AL2023 per docs.
I sucessfully configured it for PRO licence and logged in,
I did add the required lines to /etc/ssh/sshd_config
I did restart sshd
I did disconnect and log in again
I expect q doctor to report that all is well.

I tried to run q restart - it says "error: Please restart Amazon Q from your host machine" but q is not installed on my local machine (bot supported on Windows)

### Actual behaviour

q commandline doesn't work and q doctor reports this error.

### Steps to reproduce

_No response_

### Environment

```yaml
[q-details]
version = "1.5.1"
hash = "43f92e418e96c7beaa3e881f299241c15ba65900"
date = "2024-12-13T00:51:07.605173Z (9d ago)"
variant = "minimal"

[system-info]
chip = "Intel(R) Xeon(R) CPU E5-2686 v4 @ 2.30GHz"
total-cores = 4
memory = "15.61 GB"

[system-info.os.linux]
kernel_version = "6.1.112-124.190.amzn2023.x86_64"
id = "amzn"
name = "Amazon Linux"
pretty_name = "Amazon Linux 2023.6.20241212"
version_id = "2023"
version = "2023"

[environment]
cwd = "/home/USER"
cli-path = "/home/USER"
os = "Linux"
shell-path = "/usr/bin/bash"
shell-version = "5.2.15"
install-method = "unknown"
in-ssh = true

[env-vars]
PATH = "/home/linuxbrew/.linuxbrew/bin:/home/linuxbrew/.linuxbrew/sbin:/home/USER/miniconda3/bin:/home/USER/miniconda3/condabin:/home/USER/.console-ninja/.bin:/home/USER/.nvm/versions/node/v18.20.4/bin:/home/USER/.local/bin:/home/USER/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/home/USER/.local/bin"
Q_SET_PARENT_CHECK = "1"
SHELL = "/bin/bash"
TERM = "xterm-256color"
XDG_SESSION_TYPE = "tty"
```

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.