[Bug]: `--profile`/`--context` has no effect on `step ssh config --host --roots`

Đang mở
#1,206 0 bình luận 0 reaction 1 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

@dopey đang làm issue này rồi.

Từ ngày 25/6/2024.

Đánh giá

Issue này chưa được đánh giá.

Mô tả

bug needs triage
Steps to Reproduce
  1. Create contexts for two step-cas: ctx-a, ctx-b
  2. Select ctx-a with step context select ctx-a
  3. Retrieve the SSH root config of the other context with step ssh config --host --roots --context=ctx-b
Your Environment
  • WSL on Windows
  • Smallstep CLI/0.26.2 (linux/amd64)
Expected Behavior

step ssh config outputs the root of ctx-b

Actual Behavior

step ssh config outputs the root of ctx-a

Additional Context

No response

Contributing

Vote on this issue by adding a 👍 reaction.
To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).

Ngôn ngữ chính
Go
Star
4.3k
Fork
320
Merge trung bình
2 ngày 3 giờ
Pull request đã merge (30 ngày)
11

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của smallstep/cli

Tất cả issue của smallstep/cli

Issue tương tự

Thêm issue về Go

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.