Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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

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?


1 answer

1 vote
rsperafico Atlassian Team 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

$ which sshd

It will throw this line on your terminal

Kind regards,

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in DevOps

GitHub Script with GitHub Actions Automating Workflows

Hello folks, This is a series of articles where I explain GitHub Script with GitHub Actions and how you can automate publishing data on Atlassian & GitHub Platform based on the results of Workf...

129 views 1 2
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you