Description of problem: When running "rhc setup -l wsun -p redhat" ,prompt user to input password,if don't input password,will show "Not authenticated".But -p option means already input a password,should not prompt to input password again. Version-Release number of selected component (if applicable): rhc 1.3.2 devenv_2621 How reproducible: always Steps to Reproduce: 1.rhc setup -l wsun -p redhat 2. 3. Actual results: [sunwei@dhcp-8-229 ~]$ rhc setup -l wsun -p redhat OpenShift Client Tools (RHC) Setup Wizard This wizard will help you upload your SSH keys, set your application namespace, and check that other programs like Git are properly installed. Using wsun Password: Not authenticated Expected results: Don't prompt to input password if using -p option Additional info:
Fixed in fork_ami_us3270_improve_security_in_rhc
Verified on fork_ami_us3270_improve_security_in_rhc_400 [qgong@localhost dev]$ rhc setup -l qgong -p xxx OpenShift Client Tools (RHC) Setup Wizard This wizard will help you upload your SSH keys, set your application namespace, and check that other programs like Git are properly installed. Using qgong to login to ec2-107-22-25-53.compute-1.amazonaws.com Saving previous configuration to /home/qgong/.openshift/express.conf.bak Creating /home/qgong/.openshift/express.conf to store your configuration Checking for git ... found git version 1.7.1 Checking your namespace ... qgong9 Checking for applications ... found 1 qphp http://qphp-qgong9.dev.rhcloud.com/ You are using 1 of 3 total gears The following gear sizes are available to you: small Your client tools are now configured.