I want view my openshift application log in my cmd.
I did try :rhc ssh appname
that time i am getting:
No system SSH available. Please use the --ssh option to specify the path to your SSH executable, or install SSH.
My system have already ssh key.so how can i solve that problem?
To fix the issue of a missing SSH server, refer to how to install the OpenSSH server. Typos or incorrect credentials are common reasons for a refused SSH connection. Make sure you are not mistyping the username or password. Then, check whether you are using the correct IP address of the server.
Just like you need the client version of SSH to access a remote server, you need the server version to listen for and accept connections. Therefore, a server may refuse an incoming connection if the SSH server is missing or the setup is not valid. To check whether SSH is available on the remote server, run the command:
SSH can refuse a connection due to firewall restrictions. The firewall protects the server from potentially harmful connections. However, if you have SSH set up on the system, you must configure the firewall to allow SSH connections.
To check whether SSH is available on the remote server, run the command: If the output responds with " Connection refused ", move on to installing SSH on the server. To fix the issue of a missing SSH server, refer to how to install the OpenSSH server. Typos or incorrect credentials are common reasons for a refused SSH connection.
If you installed Git for Windows1, then you can try something similar to:
rhc ssh --ssh C:\PROGRA~1\Git\usr\bin\ssh.exe -a <appname>
e.g.
rhc ssh --ssh C:\PROGRA~1\Git\usr\bin\ssh.exe -a myawesomeapp
Notes
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With