{"action":"closed","issue":{"url":"https://api.github.com/repos/gogits/gogs/issues/1306","labels_url":"https://api.github.com/repos/gogits/gogs/issues/1306/labels{/name}","comments_url":"https://api.github.com/repos/gogits/gogs/issues/1306/comments","events_url":"https://api.github.com/repos/gogits/gogs/issues/1306/events","html_url":"https://github.com/gogits/gogs/issues/1306","id":84102135,"number":1306,"title":"Cloning with SSH does not work (says repository doesn't exist)","user":{"login":"Overv","id":285063,"avatar_url":"https://avatars.githubusercontent.com/u/285063?v=3","gravatar_id":"","url":"https://api.github.com/users/Overv","html_url":"https://github.com/Overv","followers_url":"https://api.github.com/users/Overv/followers","following_url":"https://api.github.com/users/Overv/following{/other_user}","gists_url":"https://api.github.com/users/Overv/gists{/gist_id}","starred_url":"https://api.github.com/users/Overv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Overv/subscriptions","organizations_url":"https://api.github.com/users/Overv/orgs","repos_url":"https://api.github.com/users/Overv/repos","events_url":"https://api.github.com/users/Overv/events{/privacy}","received_events_url":"https://api.github.com/users/Overv/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/gogits/gogs/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/gogits/gogs/labels/reproduce%20needed","name":"reproduce needed","color":"bbca04"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":16,"created_at":"2015-06-02T16:47:54Z","updated_at":"2015-09-02T23:45:21Z","closed_at":"2015-09-02T23:45:21Z","body":"I've installed the latest version of Gogs on Ubuntu 14.04 using [this guide](https://www.digitalocean.com/community/tutorials/how-to-set-up-gogs-on-ubuntu-14-04). Checking out with HTTP works fine:\r\n\r\n    git@git-server:~$ git clone http://xxx.xxx.xxx.xxx/overv/my-test-repo.git\r\n    Cloning into 'my-test-repo'...\r\n    remote: Counting objects: 3, done.\r\n    remote: Total 3 (delta 0), reused 0 (delta 0)\r\n    Unpacking objects: 100% (3/3), done.\r\n    Checking connectivity... done.\r\n\r\nBut when I try to clone with SSH, it will say the repository doesn't exist:\r\n\r\n    git@git-server:~$ git clone git@xxx.xxx.xxx.xxx:overv/my-test-repo.git\r\n    Cloning into 'my-test-repo'...\r\n    The authenticity of host 'xxx.xxx.xxx.xxx (xxx.xxx.xxx.xxx)' can't be established.\r\n    ECDSA key fingerprint is xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx.\r\n    Are you sure you want to continue connecting (yes/no)? yes\r\n    git@xxx.xxx.xxx.xxx's password:\r\n    fatal: 'overv/my-test-repo.git' does not appear to be a git repository\r\n    fatal: Could not read from remote repository.\r\n    \r\n    Please make sure you have the correct access rights\r\n    and the repository exists.\r\n\r\nAs you can see, I'm using the URL as given to me by Gogs:\r\n\r\n![Link](http://i.imgur.com/AAmpETM.png)\r\n\r\nIt only works if I use the full path:\r\n\r\n    git clone git@xxx.xxx.xxx.xxx:~/gogs-repositories/overv/my-test-repo.git\r\n\r\nHow do I fix this?"}}