Skip to content
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

Zowe requires password when using SSH key for SSH command #1034

Closed
Tracked by #1671
JirkaAichler opened this issue Jun 16, 2021 · 5 comments
Closed
Tracked by #1671

Zowe requires password when using SSH key for SSH command #1034

JirkaAichler opened this issue Jun 16, 2021 · 5 comments
Assignees
Labels
bug Something isn't working community-upvoted priority-medium Not functioning - next quarter if capacity permits severity-low Bug that makes the usage of the Zowe less convenient but doesn't impact key use cases
Milestone

Comments

@JirkaAichler
Copy link

I am asked for a password when calling the SSH command with an SSH key. Then it is possible to do the action with the incorrect password.

Base profile:

host:               sys1.com
port:               1443
rejectUnauthorized: true

SSH profile:

  name:     sys1 (default)
  contents:
    host:       sys1.com
    port:       22
    user:       user1
    privateKey: c:\Users\user1\.ssh\id_rsa

Command:

λ zowe zos-uss issue ssh "echo test"
Enter password : invalid_password

$ test

Version:

λ zowe --version
6.32.0
@MikeBauerCA MikeBauerCA added this to the Backlog milestone Aug 26, 2021
@MarkAckert MarkAckert added bug Something isn't working priority-medium Not functioning - next quarter if capacity permits for-review To be reviewed in an Eng & Prod Mgmt meeting severity-low Bug that makes the usage of the Zowe less convenient but doesn't impact key use cases labels Nov 11, 2022
@github-actions
Copy link

Thank you for creating a bug report. If you haven't already, please ensure you have provided steps to reproduce it and as much context as possible.

@MarkAckert MarkAckert added severity-medium Bug where workaround exists or that doesn't prevent the usage of Zowe. Just makes it more complex. and removed severity-low Bug that makes the usage of the Zowe less convenient but doesn't impact key use cases labels Nov 11, 2022
@zFernand0 zFernand0 added for-review-pm and removed for-review To be reviewed in an Eng & Prod Mgmt meeting labels Nov 28, 2022
@zFernand0
Copy link
Member

If I remember correctly, we said that a possible temporary solution could be to document the unexpected behavior in a troubleshooting section on zowe/docs.
Long term, we wouldn't want to be asking for a password whenever there is an SSH key already in the ~/.ssh/authorized_keys file

@JirkaAichler
Copy link
Author

I would personally prefer the long-term solution. Do not ask for a password when privateKey parameter is specified. Is it that difficult to implement?

@zFernand0 zFernand0 self-assigned this Feb 3, 2023
@gejohnston
Copy link
Member

The CLI team is fully scheduled to meet objectives from previous commitments. If you feel that the business impact is significant enough to warrant a higher priority, your best course of action is to raise those business concerns with Zowe Product Management who can re-prioritize commitments.

@adam-wolfe adam-wolfe added severity-low Bug that makes the usage of the Zowe less convenient but doesn't impact key use cases and removed severity-medium Bug where workaround exists or that doesn't prevent the usage of Zowe. Just makes it more complex. labels Mar 22, 2023
@zFernand0 zFernand0 mentioned this issue Mar 29, 2023
28 tasks
@adam-wolfe adam-wolfe mentioned this issue May 31, 2023
19 tasks
@zFernand0 zFernand0 removed their assignment Sep 6, 2023
@t1m0thyj t1m0thyj moved this to Medium Priority in Zowe CLI Squad Dec 26, 2023
@adam-wolfe adam-wolfe mentioned this issue Apr 19, 2024
23 tasks
@jace-roell jace-roell self-assigned this Jul 10, 2024
@jace-roell
Copy link
Contributor

Tested with v7.27.0 and vNext, issue has been resolved.

@github-project-automation github-project-automation bot moved this from Medium Priority to Closed in Zowe CLI Squad Jul 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working community-upvoted priority-medium Not functioning - next quarter if capacity permits severity-low Bug that makes the usage of the Zowe less convenient but doesn't impact key use cases
Projects
Status: Closed
Development

No branches or pull requests

7 participants