vscode-extension-for-zowe
vscode-extension-for-zowe copied to clipboard
Strange behavior when running SSH command if credentials are not yet stored
To reproduce the issue:
- Have a Zowe client config (
zowe.config.json
) with a zosmf and ssh profile - Delete secure credentials (
Zowe/secure_config_props
) from the vault so you'll be prompted for them
Actual Behavior
- Right-click on the zosmf profile in the USS tree and select "Issue Unix Command". Notice that nothing happens.
- Or select "Issue Unix Command" from the command palette. After being prompted for a zosmf and ssh profile, then I am prompted to enter credentials twice.
Expected Behavior
- When right-clicking on a zosmf profile in the USS tree, I should be prompted for an ssh profile to use.
- If credentials are not yet stored, I should be prompted only once for user/password and they should be stored in the zosmf profile.