{"action":"created","issue":{"url":"https://api.github.com/repos/openshift/rhc/issues/705","labels_url":"https://api.github.com/repos/openshift/rhc/issues/705/labels{/name}","comments_url":"https://api.github.com/repos/openshift/rhc/issues/705/comments","events_url":"https://api.github.com/repos/openshift/rhc/issues/705/events","html_url":"https://github.com/openshift/rhc/pull/705","id":111701841,"number":705,"title":"Allow an SSH executable to be specified globally","user":{"login":"tiwillia","id":5197933,"avatar_url":"https://avatars.githubusercontent.com/u/5197933?v=3","gravatar_id":"","url":"https://api.github.com/users/tiwillia","html_url":"https://github.com/tiwillia","followers_url":"https://api.github.com/users/tiwillia/followers","following_url":"https://api.github.com/users/tiwillia/following{/other_user}","gists_url":"https://api.github.com/users/tiwillia/gists{/gist_id}","starred_url":"https://api.github.com/users/tiwillia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tiwillia/subscriptions","organizations_url":"https://api.github.com/users/tiwillia/orgs","repos_url":"https://api.github.com/users/tiwillia/repos","events_url":"https://api.github.com/users/tiwillia/events{/privacy}","received_events_url":"https://api.github.com/users/tiwillia/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":12,"created_at":"2015-10-15T20:34:27Z","updated_at":"2015-11-09T22:00:09Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/openshift/rhc/pulls/705","html_url":"https://github.com/openshift/rhc/pull/705","diff_url":"https://github.com/openshift/rhc/pull/705.diff","patch_url":"https://github.com/openshift/rhc/pull/705.patch"},"body":"Bug 1177753\r\nhttps://bugzilla.redhat.com/show_bug.cgi?id=1177753\r\n\r\nPreviously, a `--ssh` option could be passed to a few subcommands to use a seperate ssh executable other than that found in the default PATH. After this commit, this option is now a global options used in all commands utilizing ssh. A `ssh` option is now available in configuration that allows this global option to be set persistently.\r\n\r\nThe snapshot-restore, snapshot-save, and tail commands will now use the an ssh executable if specified. If no ssh executable is specified, the Net::SSH implementations will continue to be used.\r\n\r\nThe port-forward command will not attempt to actually forward ports with a custom ssh executable. This is due to how errors reported from a custom ssh executable are unpredictable. If one or more of the port-forwards fails, the error reported is not predictable enough to script a workaround or helpful error message. If a custom ssh executable is specified when port-forward is called, rhc will use the custom ssh executable to gather the ports and services that will need to be forwarded from the application. It will then use this information to construct a command that the user can run to forward the ports themselves. The command structure assumes that the ssh executable uses the same flags as openSSH.\r\n\r\nThe scp command will not attempt to use any ssh executable. Instead, a helpful error will be reported with an scp command. The user can use the command to upload/download the file themselves. If the client is on windows, no scp command is provided since we cannot assume that the client has an scp executable available. Instead, a helpful error message will be provided instructing the user to investigate 3rd-party alternatives such as FileZilla and WinSCP."},"comment":{"url":"https://api.github.com/repos/openshift/rhc/issues/comments/155212174","html_url":"https://github.com/openshift/rhc/pull/705#issuecomment-155212174","issue_url":"https://api.github.com/repos/openshift/rhc/issues/705","id":155212174,"user":{"login":"openshift-bot","id":1779249,"avatar_url":"https://avatars.githubusercontent.com/u/1779249?v=3","gravatar_id":"","url":"https://api.github.com/users/openshift-bot","html_url":"https://github.com/openshift-bot","followers_url":"https://api.github.com/users/openshift-bot/followers","following_url":"https://api.github.com/users/openshift-bot/following{/other_user}","gists_url":"https://api.github.com/users/openshift-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/openshift-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openshift-bot/subscriptions","organizations_url":"https://api.github.com/users/openshift-bot/orgs","repos_url":"https://api.github.com/users/openshift-bot/repos","events_url":"https://api.github.com/users/openshift-bot/events{/privacy}","received_events_url":"https://api.github.com/users/openshift-bot/received_events","type":"User","site_admin":false},"created_at":"2015-11-09T22:00:09Z","updated_at":"2015-11-09T22:00:09Z","body":"Evaluated for online test up to b6f188aa23eb8f8594aa5c4e42cbe2b5a68223b7"}}