Skip to content

zowe cli with password less ssh logon is asking for a password #2579

@colinpaicemq

Description

@colinpaicemq

Describe the bug

I can logon with ssh with no password.

If I try it with zowe it prompts me for a password

_colinpaice@colinpaice:~/tmp$ zowe ssh issue command "pwd" --ssh-p ssh
Some required connection properties have not been specified in your Zowe client
configuration. Therefore, you will be asked for the connection properties that are required
to complete your command.

Enter the password for your service (will be hidden):_

It should only ask for a password if the backend ssh server ask for a password

"ssh": {
"type": "ssh",
"properties": {
"port": 22,
// "privateKey": "/home/colinpaice/.ssh/id_rsa.pub",
"privateKeyFile": "/home/colinpaice/....",
"user": "COLIN",
"host": "10.1.1.2"
},
"secure": [ "user"]
},

Expected and actual results

Describe your environment

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingnewThe issue wasn't triaged yet

    Type

    No type

    Projects

    Status

    New Issues

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions