Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

rhc ssh [No system SSH available] error

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?

like image 213
nmkkannan Avatar asked Nov 26 '14 07:11

nmkkannan


People also ask

How to fix SSH server not responding?

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.

Why can't I connect to a remote server with SSH?

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:

Why does SSH refuse a connection?

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.

How do I check whether SSH is available on the remote server?

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.


1 Answers

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

  1. See https://git-scm.com/download/win or https://git-for-windows.github.io/
like image 192
Paul Vargas Avatar answered Oct 13 '22 21:10

Paul Vargas