I am not able to setup my own first project. Following error coming while trying to do first commit.

vickycoder@vikas-VirtualBox ~/files_viewer $ git remote add origin vickycoder@git.drupal.org:project/files_viewer.git
vickycoder@vikas-VirtualBox ~/files_viewer $
vickycoder@vikas-VirtualBox ~/files_viewer $ git push origin 8.x-1.x
ssh: connect to host git.drupal.org port 22: Connection refused
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

vickycoder@vikas-VirtualBox ~ $ git clone git://git.drupal.org/project/files_viewer.git
Cloning into 'files_viewer'...
fatal: unable to connect to git.drupal.org:
git.drupal.org[0: 140.211.10.43]: errno=Connection refused

My public key is added under SSH keys and i am using this key with other Git services as well.

Comments

Jaypan’s picture

You should open a ticket in the infrastructure issue queue: https://www.drupal.org/project/issues/infrastructure

vaibhaavsingh’s picture

First Of all you have to configure your git with ssh keys to connect with git.drupal.org.
$ cd ~/.ssh
$ ls
$ ssh-keygen -t rsa -C "[your keys name]"
Copy the generated key form your terminal and save to Drupal ssh keys tab.

Follow the proper process for your Os type url below
url : https://www.drupal.org/node/1027094