title: how to bare initilize git on server over ssh?
body: <p>I have server which host a repository that I cloned using:</p>
  
  <pre><code>git clone ssh://username@domain.tld://work/repo/project1.git
  </code></pre>
  
  <p>Now I want to create repository called "project2" so I tried:</p>
  
  <pre><code>git init --bare ssh://username@domain.tld://work/repo/project2.git 
  </code></pre>
  
  <p>but I get :</p>
  
  <blockquote>
    <p>usage: git init [-q | --quiet] [--bare]
    [--template=] [--shared[=]]
    []</p>
  </blockquote>
  
  <p>also tried to use ssh to connect:</p>
  
  <pre><code> ssh username@domain.tld
  </code></pre>
  
  <p>but I get:</p>
  
  <blockquote>
    <p>fatal: Interactive git shell is not enabled. hint:
    ~/git-shell-commands should exist and have read and execute access.
    Connection to domain.tld closed.</p>
  </blockquote>
  
  <p>how can I create the repository project2.git?</p>