Hide Forgot
Description of problem: When my keys don't match on client and server, I get this error: Nams-MacBook-Pro:test nduong$ rhc-port-forward -a myApp -l nduong+cygwin -d Password: Submitting form: debug: true rhlogin: nduong+cygwin Contacting https://openshift.redhat.com Checking available ports... ssh -t 2f03c46d100b46b5b7a1b45d9847d0e3.com 'rhc-list-ports' No available ports to forward This is confusing to the user (in this case, I mis-understood it as broken functionality). This occurs on all the clients (tried windows xp and Mac OSX)
We are now doing a crude test to see if the ssh connection fails due to permission denial and if so, we display the permission denied error message instead of the misleading 'No available ports to forward' message being earlier.
Verified on devenv-stage_132.