title: Gitlab on Custom SSH Port
body: <p>I have tried to install Gitlab, but i cannot enter a custom SSH Port. </p>
  
  <p>Have already set the port in gitlab.yml to my custom Port, and created the file     </p>
  
  <pre><code>/home/gitlab/gitlab/.ssh/config
  </code></pre>
  
  <p>With my properties:</p>
  
  <pre><code>Host localhost
  Port 100001
  </code></pre>
  
  <p>as described <a href="http://www.andmarios.com/en/2012/06/gitlab-on-an-ubuntu-10-04-server-with-apache/" rel="nofollow">here</a>. </p>
  
  <p>But it still shows the following message upon testing:</p>
  
  <pre><code>bundle exec rake gitlab:app:status RAILS_ENV=production
  Starting diagnostic
  config/database.yml............exists
  config/gitlab.yml............exists
  /home/git/repositories/............exists
  /home/git/repositories/ is writable?............YES
  ssh: connect to host localhost port 22: Connection refused
  fatal: The remote end hung up unexpectedly
  Can clone gitolite-admin?............YES
  UMASK for .gitolite.rc is 0007? ............YES
  /home/git/.gitolite/hooks/common/post-receive exists? ............YES
  
  Finished
  </code></pre>
  
  <p>and i cannot add my public ssh key in Gitlab, it says "GitLab was unable to access your Gitolite system."</p>
  
  <p>Can anyone help?</p>