Bug 1307174
| Summary: | rhc ssh <appname> does not respect PATH env variable, nor the --ssh PATH option | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Miciah Dashiel Butler Masters <mmasters> |
| Component: | oc | Assignee: | Sally <somalley> |
| Status: | CLOSED ERRATA | QA Contact: | Wei Sun <wsun> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 2.2.0 | CC: | aaron.hurui, aos-bugs, jokerman, mmccomas, rthrashe, sea.av80r, somalley, wsun, yanpzhan |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Windows | ||
| Whiteboard: | |||
| Fixed In Version: | rhc-1.38.6.1-1.el6op | Doc Type: | Bug Fix |
| Doc Text: |
Cause: 'rhc ssh <app>' was not working in Windows, unless ssh.exe was copied from the C:\Program Files\Git\usr\bin folder to the C:\Program Files\Git\bin folder. Also the link to Git for Windows mysysgit install was broken.
Consequence: rhc was broken for Windows users
Fix: Added C:\Program Files\Git\usr\bin to the search path for ssh.exe. Users can also move ssh.exe to a custom location, as long as it is in the Git path rhc will find it. Also replaced 'http://msysgit.github.io/' with the updated url 'https://git-for-windows.github.io/'.
Result: 'rhc ssh' works as expected for Windows users
|
Story Points: | --- |
| Clone Of: | 1294401 | Environment: | |
| Last Closed: | 2016-03-22 16:54:17 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | 1294401, 1310813 | ||
| Bug Blocks: | |||
|
Description
Miciah Dashiel Butler Masters
2016-02-12 22:29:53 UTC
*** Bug 1310813 has been marked as a duplicate of this bug. *** Tested with RHC 1.38.6.1 Gem on puddle 2.2/2016-02-25.2/, it works as expected. Steps to verify: 1.Install rhc-1.38.6.1 gem from attachment on win10 2.Login openshift server: C:\Users\openshift>rhc setup --server=<serverip> 3.Ssh into app. Now we can ssh into app with default ssh successfully. Ssh using Win cmd,ruby bash or git bash: C:\Users\openshift>rhc ssh php1 DL is deprecated, please use Fiddle Connecting to domtest-php1-1.com.cn ... [php1-domtest.ose22-auto.com.cn domtest-php1-1]\> exit exit 4.Ssh into app with --ssh option successfully using Win cmd,ruby bash or git bash: C:\Users\openshift>rhc ssh php1 --ssh="C:\ProgramData\Git\usr\bin\ssh.exe" DL is deprecated, please use Fiddle Connecting to domtest-php1-1.com.cn ... [php1-domtest.ose22-auto.com.cn domtest-php1-1]\> exit exit The bug has been fixed, so move it to Verified. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHSA-2016-0489.html |