How to make ssh in an openshift application using the "rhc" command in windows?

I am trying to use ssh (from windows) in my Openshift application using the 'rhc' command

rhc app-ssh <app name> 

I followed the Openshift instruction here:

https://www.openshift.com/forums/openshift/how-to-rhc-app-ssh-command

Putty returns the error "Putty command line error: unknown option -V", and then fails. My searches show that putty has the option "-v" (lowercase) to enable Verbose. I'm not sure this is the same thing.

If I use the Putty GUI, everything works fine. I would like to find out how ssh in my openshift application using the command line.

How to make ssh in my openhift application using the 'rhc' command in windows?

+6
source share
4 answers

This is an error in the RHC for windows. They fixed it in a forked version.

Bugzilla report

0
source
  • First you need to generate a private and public key. You can use puttygen for this.
  • Then you must import the public key into your OpenShift account.
  • And then use the private key with putty.

Here is a detailed instruction with illustrations.

+1
source

First you tried to run the rhc configuration command to make sure everything is configured correctly?

0
source

Have you tried:

 rhc ssh appname 

Worked fine for me

0
source

Source: https://habr.com/ru/post/974322/


All Articles