Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

[Noob] "port 22: Connection refused." Problems to use git under proxy.

César Ruiz
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 4, 2014

Hello everyone.

I am at client s location and I can t acces to my repository.

The problem will be with ssh connections.

The client s connection has a proxy and I don t know how to configure it in git.

What can I do?

Thanks

1 answer

1 vote
rsperafico
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 12, 2014

Hi Cézar,

It seems the port 22 is not accessible and/or you don't have ssh daemon installed/running.

Could you have a look if port 22 is open, please? As well as that, have a look if the ssh daemon is currenctly running. If not, please start it and try to run your ssh request once again, please.

ssh has 2 main components:

  1. ssh : The command we use to connect to remote machines - the client.
  2. sshd : The daemon that is running on the server and allows clients to connect to the server.

ssh is pre-enabled on Linux, but in order to start sshd daemon, we need to install ssh first. Use this command to do that:

$ sudo apt-get install ssh

This will install ssh on your machine. In order to check if ssh is setup properly do this:

$ which ssh

It will throw this line on your terminal
/usr/bin/ssh

$ which sshd

It will throw this line on your terminal
/usr/bin/sshd

Kind regards,
Rafael

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events