Skip to content

Do not duplicate host addresses in SSH command suggestions #1913

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
3 tasks done
maximal opened this issue May 20, 2025 · 0 comments
Open
3 tasks done

Do not duplicate host addresses in SSH command suggestions #1913

maximal opened this issue May 20, 2025 · 0 comments

Comments

@maximal
Copy link

maximal commented May 20, 2025

Checks

Operating system

macOS 15.5.0 (24F74)

Expected behaviour

ssh command gives deduplicated hosts’ addresses, like

ssh
    hostname1
    hostname2
    hostname3
    192.168.0.10

Actual behaviour

ssh command gives duplicated hosts’ addresses, like

ssh
    hostname1
    hostname1
    hostname1
    hostname2
    hostname2
    hostname2
    hostname3
    hostname3
    hostname3
    192.168.0.10
    192.168.0.10
    192.168.0.10

Steps to reproduce

No response

Environment

<This will be visible to anyone. Do not include personal or sensitive information>

[q-details]
version = "1.10.1"
hash = "cb90e381cf8391beef4b966623d913e258cbb08d"
date = "2025-05-16T13:53:39.016927Z (4d ago)"
variant = "full"

[system-info]
os = "macOS 15.5.0 (24F74)"
chip = "Apple M2"
total-cores = 8
memory = "24.00 GB"

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

[env-vars]
PATH = "/Users/USER/.local/bin:/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/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:/Library/Apple/usr/bin:/usr/local/go/bin:/Applications/iTerm.app/Contents/Resources/utilities:/Users/USER/.local/bin:/Users/USER/Library/Application Support/JetBrains/Toolbox/scripts"
QTERM_SESSION_ID = "c69a2f0d695e466d853c2e64ff3e728b"
Q_SET_PARENT_CHECK = "1"
Q_TERM = "1.10.1"
SHELL = "/bin/zsh"
TERM = "xterm-256color"
__CFBundleIdentifier = "com.googlecode.iterm2"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant